mirror of
https://github.com/digitalocean/nginxconfig.io
synced 2024-11-10 12:34:12 +00:00
d1bf984d0b
* Add unit testing * Update unit testing * Update unit testing * fix a big heap of formatting typo
86 lines
3.1 KiB
JSON
86 lines
3.1 KiB
JSON
{
|
|
"name": "nginxconfig.io",
|
|
"version": "1.0.0",
|
|
"description": "NGINX config generator on steroids",
|
|
"private": true,
|
|
"license": "MIT",
|
|
"engines": {
|
|
"node": "12.16.2"
|
|
},
|
|
"main": "src/nginxconfig/mount.js",
|
|
"scripts": {
|
|
"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 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",
|
|
"test": "npm run test:eslint && npm run test:sass-lint && npm run test:i18n-packs && npm run test:jest",
|
|
"test:jest": "jest /test/.*.js?$",
|
|
"test:fix": "npm run test:eslint:fix && npm run test:sass-lint:fix",
|
|
"test:eslint": "eslint 'src/**/*.{js,vue}'",
|
|
"test:eslint:fix": "npm run test:eslint -- --fix",
|
|
"test:sass-lint": "sass-lint 'src/**/*.scss' --verbose --no-exit --config .sasslintrc",
|
|
"test:sass-lint:fix": "sass-lint-auto-fix 'src/**/*.scss'",
|
|
"test:i18n-packs": "node -r esm src/nginxconfig/i18n/verify.js"
|
|
},
|
|
"jest": {
|
|
"testRegex": "/test/.*.js?$"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/digitalocean/nginxconfig.io.git"
|
|
},
|
|
"keywords": [
|
|
"nginx"
|
|
],
|
|
"author": "DigitalOcean",
|
|
"bugs": {
|
|
"url": "https://github.com/digitalocean/nginxconfig.io/issues"
|
|
},
|
|
"homepage": "https://github.com/digitalocean/nginxconfig.io#readme",
|
|
"dependencies": {
|
|
"clipboard": "^2.0.6",
|
|
"clone": "^2.1.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",
|
|
"files-diff": "0.0.4",
|
|
"json-to-pretty-yaml": "^1.2.2",
|
|
"memory-tar-create": "0.0.2",
|
|
"pretty-checkbox-vue": "^1.1.9",
|
|
"prismjs": "^1.22.0",
|
|
"qs": "^6.9.4",
|
|
"simple-js-sha2-256": "^1.0.7",
|
|
"vue": "^2.6.12",
|
|
"vue-i18n": "^8.22.2",
|
|
"vue-select": "^3.10.8"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/plugin-proposal-class-properties": "^7.10.4",
|
|
"@babel/plugin-transform-runtime": "^7.11.5",
|
|
"@babel/preset-env": "^7.11.5",
|
|
"@babel/runtime": "^7.11.2",
|
|
"@vue/cli-service": "^4.5.9",
|
|
"babel-eslint": "^10.1.0",
|
|
"chalk": "^4.1.0",
|
|
"copyfiles": "^2.4.1",
|
|
"core-js": "^3.6.5",
|
|
"duplicate-package-checker-webpack-plugin": "^3.0.0",
|
|
"eslint": "^7.15.0",
|
|
"eslint-plugin-vue": "^7.3.0",
|
|
"jest": "^26.6.3",
|
|
"esm": "^3.2.25",
|
|
"node-fetch": "^2.6.1",
|
|
"sass": "^1.30.0",
|
|
"sass-lint": "^1.13.1",
|
|
"sass-lint-auto-fix": "^0.21.2",
|
|
"sass-loader": "^10.1.0",
|
|
"vue-template-compiler": "^2.6.12",
|
|
"webpack-bundle-analyzer": "^4.3.0"
|
|
}
|
|
}
|