mirror of
https://github.com/digitalocean/nginxconfig.io.git
synced 2025-08-11 11:20:59 +08:00
Move to using vue-cli-service instead of parcel (2.1MB to 850KB)
This commit is contained in:
28
package.json
28
package.json
@@ -6,13 +6,13 @@
|
||||
"scripts": {
|
||||
"build": "npm run build:clean && npm run build:template && npm run build:static && npm run build:tool",
|
||||
"build:clean": "do-vue clean",
|
||||
"build:template": "do-vue template",
|
||||
"build:static": "copyfiles --up 2 ./src/static/{*,**/*} dist",
|
||||
"build:tool": "do-vue tool src/nginxconfig dist",
|
||||
"dev": "npm run dev:prep && parcel src/nginxconfig/index.html --out-dir ./dev --port 8000",
|
||||
"build:template": "do-vue template && node src/nginxconfig/build/template.js",
|
||||
"build:static": "copyfiles --up 2 src/static/{*,**/*} dist",
|
||||
"build:tool": "vue-cli-service build src/nginxconfig/mount.js --no-clean",
|
||||
"dev": "npm run build:template && npm run dev:tool",
|
||||
"dev:tool": "vue-cli-service serve src/nginxconfig/mount.js",
|
||||
"analyze": "npm run build:tool -- --analyze",
|
||||
"deploy:spaces:comment": "do-vue comment nginxconfig",
|
||||
"dev:prep": "npm run build:template && npm run dev:static",
|
||||
"dev:static": "copyfiles --up 2 ./src/static/{*,**/*} dev",
|
||||
"test": "npm run test:eslint && npm run test:scss",
|
||||
"test:fix": "npm run test:eslint:fix && npm run test:scss:fix",
|
||||
"test:eslint": "eslint 'src/**/*.{js,vue}'",
|
||||
@@ -33,37 +33,33 @@
|
||||
},
|
||||
"homepage": "https://github.com/do-community/nginxconfig-vue#readme",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.9.2",
|
||||
"babel-polyfill": "^6.26.0",
|
||||
"clone": "^2.1.2",
|
||||
"copy-to-clipboard": "^3.3.1",
|
||||
"create-hash": "^1.2.0",
|
||||
"deep-equal": "^2.0.3",
|
||||
"diff": "^4.0.2",
|
||||
"do-bulma": "git+https://github.com/do-community/do-bulma.git",
|
||||
"do-vue": "git+https://github.com/do-community/do-vue.git",
|
||||
"escape-html": "^1.0.3",
|
||||
"get-stream": "^5.1.0",
|
||||
"node-gzip": "^1.1.2",
|
||||
"parcel-bundler": "^1.12.4",
|
||||
"pretty-checkbox-vue": "^1.1.9",
|
||||
"prismjs": "^1.20.0",
|
||||
"qs": "^6.9.4",
|
||||
"raw-body": "^2.4.1",
|
||||
"tar-stream": "^2.1.2",
|
||||
"vue": "^2.6.11",
|
||||
"vue-hot-reload-api": "^2.3.3",
|
||||
"vue-select": "^3.10.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/plugin-transform-runtime": "^7.9.0",
|
||||
"@vue/component-compiler-utils": "^3.1.2",
|
||||
"@vue/cli-service": "^4.3.1",
|
||||
"copyfiles": "^2.2.0",
|
||||
"eslint": "^6.8.0",
|
||||
"eslint-plugin-vue": "^5.2.3",
|
||||
"posthtml": "^0.11.4",
|
||||
"posthtml-extend": "^0.3.0",
|
||||
"sass": "^1.26.3",
|
||||
"sass-lint": "^1.13.1",
|
||||
"sass-lint-auto-fix": "^0.21.0",
|
||||
"vue-template-compiler": "^2.6.11"
|
||||
"sass-loader": "^8.0.2",
|
||||
"vue-template-compiler": "^2.6.11",
|
||||
"webpack-bundle-analyzer": "^3.8.0"
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user