2
0
mirror of https://github.com/tenrok/vue2-datepicker.git synced 2026-06-12 02:02:27 +03:00

build: add release script

This commit is contained in:
mxie
2018-09-28 15:25:24 +08:00
parent 42bc06864e
commit 2444331a3c
2 changed files with 40 additions and 2 deletions
+2 -2
View File
@@ -10,11 +10,11 @@
"scripts": {
"dev": "cross-env NODE_ENV=development webpack-dev-server --hot --open --config build/webpack.dev.config.js",
"demo": "cross-env NODE_ENV=production webpack --progress --hide-modules --config build/webpack.demo.config.js",
"build": "cross-env NODE_ENV=production webpack --progress --hide-modules --config build/webpack.deploy.config.js",
"build": "npm run lint && npm test && cross-env NODE_ENV=production webpack --progress --hide-modules --config build/webpack.deploy.config.js",
"lint": "eslint src/**/* test/**/*",
"test:push": "jest --coverage --coverageReporters=text-lcov | coveralls",
"test": "jest",
"deploy": "npm run lint && npm test && npm run build"
"deploy": "sh build/release.sh"
},
"jest": {
"moduleFileExtensions": [