feat: 添加测试脚本
Showing
.editorconfig
0 → 100644
example/inHTML/README.md
0 → 100644
example/inHTML/index.html
0 → 100644
... | ... | @@ -10,7 +10,8 @@ |
"watch": "rollup -c -w", | ||
"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" | ||
"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\"" | ||
}, | ||
"typescript": ">=4.0", | ||
"files": [ | ||
... | ... | @@ -30,10 +31,12 @@ |
"@typescript-eslint/parser": "^4.9.0", | ||
"babel-eslint": "^10.1.0", | ||
"chalk": "^4.1.0", | ||
"concurrently": "^5.3.0", | ||
"cross-env": "^7.0.3", | ||
"eslint": "^7.15.0", | ||
"eslint-config-prettier": "^7.0.0", | ||
"eslint-plugin-prettier": "^3.2.0", | ||
"http-server": "^0.12.3", | ||
"husky": "^4.3.4", | ||
"lint-staged": "^10.5.3", | ||
"prettier": "^2.2.1", | ||
... | ... |
This diff is collapsed.
Please register or sign in to comment