|
|
@@ -21,7 +21,8 @@
|
|
|
"test": "cross-env NODE_ENV=test nyc mocha-webpack --webpack-config node_modules/@nutui/cli/dist_cli/webpack/test.config.js --require node_modules/@nutui/cli/dist_cli/test/setup.js src/packages/**/__test__/**.spec.js",
|
|
|
"coveralls": "cat ./coverage/lcov.info | coveralls",
|
|
|
"test:watch": "npm run test --watch",
|
|
|
- "upload:test": "node test_script/upload.js"
|
|
|
+ "upload:test": "node test_script/upload.js",
|
|
|
+ "prettier:fix": "prettier --write **/**/*.{ts,js,vue,scss}"
|
|
|
},
|
|
|
"repository": {
|
|
|
"type": "git",
|
|
|
@@ -100,4 +101,4 @@
|
|
|
"instrument": false,
|
|
|
"sourceMap": false
|
|
|
}
|
|
|
-}
|
|
|
+}
|