feat: 添加模块引入方式
Showing
package-lock.json
0 → 100644
This diff is collapsed.
... | ... | @@ -11,7 +11,8 @@ |
"build": "npm run clean && cross-env NODE_ENV=prod && rollup -c", | ||
"build:debug": "npm run clean && cross-env NODE_ENV=dev rollup -c", | ||
"clean": "rm -rf ./dist", | ||
"test:in_html": "npm run watch & concurrently \"http-server -a localhost -p 1234\" \"open http://localhost:1234/example/inHTML/index.html\"" | ||
"test:in_html": "npm run watch & concurrently \"http-server -a localhost -p 1234\" \"open http://localhost:1234/example/inHTML/index.html\"", | ||
"test:in_module": "webpack -s" | ||
}, | ||
"typescript": ">=4.0", | ||
"files": [ | ||
... | ... | @@ -36,6 +37,7 @@ |
"eslint": "^7.15.0", | ||
"eslint-config-prettier": "^7.0.0", | ||
"eslint-plugin-prettier": "^3.2.0", | ||
"html-webpack-plugin": "^4.5.1", | ||
"http-server": "^0.12.3", | ||
"husky": "^4.3.4", | ||
"lint-staged": "^10.5.3", | ||
... | ... | @@ -48,7 +50,10 @@ |
"standard-version": "^9.0.0", | ||
"tslib": "^2.0.3", | ||
"tuia-auto-upload": "^2.0.19", | ||
"typescript": "^4.1.2" | ||
"typescript": "^4.1.2", | ||
"webpack": "^5.18.0", | ||
"webpack-cli": "^4.4.0", | ||
"webpack-dev-server": "^3.11.2" | ||
}, | ||
"husky": { | ||
"hooks": { | ||
... | ... |
This source diff could not be displayed because it is too large. You can view the blob instead.
Please register or sign in to comment