add prettier

This commit is contained in:
Harvey committed 2021-11-29 18:20:13 +08:00
1 parent f4fbd3e6c2
commit 4466e42e19
5 files changed
+1873 -1896

No files matched your search

+2 -1
View File
@@ -11,7 +11,7 @@
"start": "npx cross-env NODE_ENV=development npx servor docs index.html 8081 5000",
"build": "npx cross-env NODE_ENV=production node ./scripts/build.js",
"build:all": "npm run build all && git add . && git commit -m \"build all packages\" -n",
"test": "npx cross-env NODE_ENV=test mocha-chrome ./test/index2.html --mocha '{\"ui\":\"bdd\"}'",
"test": "npx cross-env NODE_ENV=test mocha-chrome ./test/index.html --mocha '{\"ui\":\"bdd\"}'",
"lint": "npx eslint packages/*/src",
"sizereport": "npx sizereport --config"
},
@@ -67,6 +67,7 @@
"node-html-parser": "^5.1.0",
"node-sass": "^6.0.1",
"postcss": "^8.3.11",
"prettier": "^2.5.0",
"rollup": "^2.60.1",
"rollup-plugin-eslint": "^7.0.0",
"rollup-plugin-postcss": "^4.0.2",