mirror of
https://github.com/tenrok/vue2-datepicker.git
synced 2026-06-07 11:22:27 +03:00
build: add env
This commit is contained in:
+3
-3
@@ -13,13 +13,13 @@
|
||||
"version": "3.0.2",
|
||||
"scripts": {
|
||||
"dev": "parcel ./example/dev.html --open --port 2235",
|
||||
"build:index": "rollup -c",
|
||||
"build:locale": "rollup -c rollup.locale.config.js",
|
||||
"build:index": "NODE_ENV=production rollup -c",
|
||||
"build:locale": "NODE_ENV=production rollup -c rollup.locale.config.js",
|
||||
"build:css": "sass --style=compressed --no-source-map src/style/index.scss index.css && postcss index.css --use autoprefixer -o index.css",
|
||||
"build": "npm run lint && npm run test && npm run clean && npm run build:index && npm run build:css && npm run build:locale",
|
||||
"clean": "rimraf locale index.*",
|
||||
"lint": "eslint src/**/*.{js,vue}",
|
||||
"deploy:build": "parcel build ./example/index.html --public-url ./ --out-dir _site --no-source-maps --no-minify",
|
||||
"deploy:build": "NODE_ENV=production parcel build ./example/index.html --public-url ./ --out-dir _site --no-source-maps --no-minify",
|
||||
"deploy": "bash build/gh-pages-deploy.sh",
|
||||
"format": "prettier --write src/**/*",
|
||||
"test": "jest",
|
||||
|
||||
Reference in New Issue
Block a user