Use babel relative import path

This commit is contained in:
Peng-YM
2022-06-16 14:24:26 +08:00
parent 6bfe2700cf
commit 8fe2280232
21 changed files with 396 additions and 198 deletions

View File

@@ -1,12 +1,12 @@
{
"name": "sub-store",
"version": "1.6",
"version": "2.0",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "sub-store",
"version": "1.6",
"version": "2.0",
"license": "GPL",
"dependencies": {
"body-parser": "^1.19.0",
@@ -23,6 +23,7 @@
"@babel/register": "^7.17.7",
"@types/gulp": "^4.0.9",
"axios": "^0.20.0",
"babel-plugin-relative-path-import": "^2.0.1",
"babelify": "^10.0.0",
"browser-pack-flat": "^3.4.2",
"browserify": "^17.0.0",
@@ -2917,6 +2918,15 @@
"@babel/core": "^7.0.0-0"
}
},
"node_modules/babel-plugin-relative-path-import": {
"version": "2.0.1",
"resolved": "https://registry.npmmirror.com/babel-plugin-relative-path-import/-/babel-plugin-relative-path-import-2.0.1.tgz",
"integrity": "sha512-jOtB/Lef7QFNAEGRV4VmUvP/VsizpvOVonrTeTTE8TxVIR0FL/wJTzFQp4ei5Jf5+EWklFORmnsXOjLxvNVeRg==",
"dev": true,
"dependencies": {
"slash": "^1.0.0"
}
},
"node_modules/babelify": {
"version": "10.0.0",
"resolved": "https://registry.npmmirror.com/babelify/-/babelify-10.0.0.tgz",
@@ -11243,6 +11253,15 @@
"integrity": "sha512-cSFtAPtRhljv69IK0hTVZQ+OfE9nePi/rtJmw5UjHeVyVroEqJXP1sFztKUy1qU+xvz3u/sfYJLa947b7nAN2Q==",
"dev": true
},
"node_modules/slash": {
"version": "1.0.0",
"resolved": "https://registry.npmmirror.com/slash/-/slash-1.0.0.tgz",
"integrity": "sha512-3TYDR7xWt4dIqV2JauJr+EJeW356RXijHeUlO+8djJ+uBXPn8/2dpzBc8yQhh583sVvc9CvFAeQVgijsH+PNNg==",
"dev": true,
"engines": {
"node": ">=0.10.0"
}
},
"node_modules/snapdragon": {
"version": "0.8.2",
"resolved": "https://registry.npmmirror.com/snapdragon/-/snapdragon-0.8.2.tgz",
@@ -15693,6 +15712,15 @@
"@babel/helper-define-polyfill-provider": "^0.3.1"
}
},
"babel-plugin-relative-path-import": {
"version": "2.0.1",
"resolved": "https://registry.npmmirror.com/babel-plugin-relative-path-import/-/babel-plugin-relative-path-import-2.0.1.tgz",
"integrity": "sha512-jOtB/Lef7QFNAEGRV4VmUvP/VsizpvOVonrTeTTE8TxVIR0FL/wJTzFQp4ei5Jf5+EWklFORmnsXOjLxvNVeRg==",
"dev": true,
"requires": {
"slash": "^1.0.0"
}
},
"babelify": {
"version": "10.0.0",
"resolved": "https://registry.npmmirror.com/babelify/-/babelify-10.0.0.tgz",
@@ -22607,6 +22635,12 @@
"integrity": "sha512-cSFtAPtRhljv69IK0hTVZQ+OfE9nePi/rtJmw5UjHeVyVroEqJXP1sFztKUy1qU+xvz3u/sfYJLa947b7nAN2Q==",
"dev": true
},
"slash": {
"version": "1.0.0",
"resolved": "https://registry.npmmirror.com/slash/-/slash-1.0.0.tgz",
"integrity": "sha512-3TYDR7xWt4dIqV2JauJr+EJeW356RXijHeUlO+8djJ+uBXPn8/2dpzBc8yQhh583sVvc9CvFAeQVgijsH+PNNg==",
"dev": true
},
"snapdragon": {
"version": "0.8.2",
"resolved": "https://registry.npmmirror.com/snapdragon/-/snapdragon-0.8.2.tgz",