mirror of
https://github.com/digitalocean/nginxconfig.io.git
synced 2025-08-21 20:32:12 +08:00
Add build script for bundled DO Prism styles (#200)
* Only ignore root build/dist/dev directories * Add build script for bundled DO Prism styles
This commit is contained in:
committed by
GitHub
parent
4df47e4c5c
commit
91db6ee322
@@ -9,12 +9,13 @@
|
||||
},
|
||||
"main": "src/nginxconfig/mount.js",
|
||||
"scripts": {
|
||||
"build": "npm run build:clean && npm run build:template && npm run build:static && npm run build:tool",
|
||||
"build": "npm run build:clean && npm run build:template && npm run build:prism && npm run build:static && npm run build:tool",
|
||||
"build:clean": "do-vue clean",
|
||||
"build:template": "do-vue template && node src/nginxconfig/build/template.js",
|
||||
"build:prism": "node src/nginxconfig/build/prism.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": "npm run build:template && npm run build:prism && 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",
|
||||
@@ -61,6 +62,7 @@
|
||||
"duplicate-package-checker-webpack-plugin": "^3.0.0",
|
||||
"eslint": "^7.15.0",
|
||||
"eslint-plugin-vue": "^7.3.0",
|
||||
"node-fetch": "^2.6.1",
|
||||
"sass": "^1.30.0",
|
||||
"sass-lint": "^1.13.1",
|
||||
"sass-lint-auto-fix": "^0.21.2",
|
||||
|
Reference in New Issue
Block a user