mirror of
https://github.com/digitalocean/nginxconfig.io
synced 2024-11-10 12:34:12 +00:00
400911d695
* Update Node.js (and npm) to latest LTS * Update dependencies to latest minor versions * Fix vue-select styling * Update jest to latest major version * Switch to do-vue branch with fixed templating * Switch back to do-vue master * Update do-bulma to latest version
100 lines
3.3 KiB
JSON
100 lines
3.3 KiB
JSON
{
|
|
"name": "nginxconfig.io",
|
|
"version": "1.0.0",
|
|
"description": "NGINX config generator on steroids",
|
|
"private": true,
|
|
"license": "MIT",
|
|
"engines": {
|
|
"node": "^16.17.1",
|
|
"npm": "^8.15.0"
|
|
},
|
|
"main": "src/nginxconfig/mount.js",
|
|
"type": "module",
|
|
"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",
|
|
"deploy:spaces:comment": "do-vue comment nginxconfig",
|
|
"test": "npm run test:eslint && npm run test:stylelint && npm run test:i18n-packs && npm run test:jest",
|
|
"test:jest": "jest --env=jsdom /test/.*.js?$",
|
|
"test:fix": "npm run test:eslint:fix",
|
|
"test:eslint": "eslint 'src/**/*.{js,vue}'",
|
|
"test:eslint:fix": "npm run test:eslint -- --fix",
|
|
"test:stylelint": "stylelint 'src/**/*.scss' --config node_modules/do-bulma/.stylelintrc.json",
|
|
"test:i18n-packs": "node --es-module-specifier-resolution=node 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.11",
|
|
"clone": "^2.1.2",
|
|
"do-bulma": "github:do-community/do-bulma",
|
|
"do-vue": "github:do-community/do-vue",
|
|
"escape-html": "^1.0.3",
|
|
"files-diff": "0.0.6",
|
|
"json-to-pretty-yaml": "^1.2.2",
|
|
"memory-tar-create": "0.0.3",
|
|
"pretty-checkbox-vue": "^1.1.9",
|
|
"prismjs": "^1.29.0",
|
|
"qs": "^6.11.0",
|
|
"simple-js-sha2-256": "^1.0.7",
|
|
"vue": "^3.2.40",
|
|
"vue-i18n": "^9.2.2",
|
|
"vue-select": "^4.0.0-beta.5",
|
|
"webpack-require-from": "^1.8.6"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/eslint-parser": "^7.19.1",
|
|
"@babel/plugin-proposal-class-properties": "^7.18.6",
|
|
"@babel/plugin-transform-runtime": "^7.19.1",
|
|
"@babel/preset-env": "^7.19.3",
|
|
"@babel/runtime": "^7.19.0",
|
|
"@vue/cli-service": "^5.0.8",
|
|
"ajv": "^8.11.0",
|
|
"chalk": "^5.0.1",
|
|
"copyfiles": "^2.4.1",
|
|
"core-js": "^3.25.3",
|
|
"duplicate-package-checker-webpack-plugin": "^3.0.0",
|
|
"eslint": "^8.24.0",
|
|
"eslint-plugin-vue": "^9.5.1",
|
|
"esm": "^3.2.25",
|
|
"jest": "^29.1.2",
|
|
"jest-environment-jsdom": "^29.1.2",
|
|
"node-fetch": "^3.2.10",
|
|
"postcss": "^8.4.17",
|
|
"sass": "^1.55.0",
|
|
"sass-loader": "^13.0.2",
|
|
"stylelint": "^14.13.0",
|
|
"stylelint-config-standard-scss": "^5.0.0",
|
|
"stylelint-order": "^5.0.0",
|
|
"vue-template-compiler": "^2.7.10",
|
|
"webpack": "^5.74.0",
|
|
"webpack-bundle-analyzer": "^4.6.1"
|
|
},
|
|
"overrides": {
|
|
"@vue/cli-service": {
|
|
"mini-css-extract-plugin": "^1.6.2"
|
|
},
|
|
"pretty-checkbox-vue": {
|
|
"vue": "$vue"
|
|
}
|
|
}
|
|
}
|