2020-04-27 19:20:51 +00:00
|
|
|
{
|
2020-06-01 19:54:34 +00:00
|
|
|
"name": "nginxconfig.io",
|
2020-04-27 19:20:51 +00:00
|
|
|
"version": "1.0.0",
|
2020-06-04 13:44:30 +00:00
|
|
|
"description": "NGINX config generator on steroids",
|
|
|
|
"license": "MIT",
|
2023-11-07 16:12:46 +00:00
|
|
|
"private": true,
|
|
|
|
"engines": {
|
|
|
|
"node": "20.9.0"
|
|
|
|
},
|
2020-06-04 13:44:30 +00:00
|
|
|
"main": "src/nginxconfig/mount.js",
|
2022-02-04 21:10:20 +00:00
|
|
|
"type": "module",
|
2020-04-27 19:20:51 +00:00
|
|
|
"scripts": {
|
2020-12-21 15:15:35 +00:00
|
|
|
"build": "npm run build:clean && npm run build:template && npm run build:prism && npm run build:static && npm run build:tool",
|
2020-04-27 19:20:51 +00:00
|
|
|
"build:clean": "do-vue clean",
|
2020-05-26 22:23:07 +00:00
|
|
|
"build:template": "do-vue template && node src/nginxconfig/build/template.js",
|
2020-12-21 15:15:35 +00:00
|
|
|
"build:prism": "node src/nginxconfig/build/prism.js",
|
2020-05-26 22:23:07 +00:00
|
|
|
"build:static": "copyfiles --up 2 src/static/{*,**/*} dist",
|
|
|
|
"build:tool": "vue-cli-service build src/nginxconfig/mount.js --no-clean",
|
2020-12-21 15:15:35 +00:00
|
|
|
"dev": "npm run build:template && npm run build:prism && npm run dev:tool",
|
2020-05-26 22:23:07 +00:00
|
|
|
"dev:tool": "vue-cli-service serve src/nginxconfig/mount.js",
|
2020-04-27 19:20:51 +00:00
|
|
|
"deploy:spaces:comment": "do-vue comment nginxconfig",
|
2023-10-16 14:22:16 +00:00
|
|
|
"test": "npm run test:prettier:fix && npm run test:eslint && npm run test:stylelint && npm run test:i18n-packs && npm run test:jest",
|
2022-02-04 21:10:20 +00:00
|
|
|
"test:jest": "jest --env=jsdom /test/.*.js?$",
|
2023-10-16 14:22:16 +00:00
|
|
|
"test:fix": "npm run test:prettier:fix && npm run test:eslint:fix",
|
2022-11-21 15:37:14 +00:00
|
|
|
"test:eslint": "eslint 'src/**/*.{js,vue}' --cache",
|
2020-04-27 19:20:51 +00:00
|
|
|
"test:eslint:fix": "npm run test:eslint -- --fix",
|
2022-02-04 22:01:19 +00:00
|
|
|
"test:stylelint": "stylelint 'src/**/*.scss' --config node_modules/do-bulma/.stylelintrc.json",
|
2024-10-04 15:05:53 +00:00
|
|
|
"test:i18n-packs": "node src/nginxconfig/i18n/verify.js",
|
2023-10-16 14:22:16 +00:00
|
|
|
"test:prettier": "prettier 'src/**/*.{js,vue}' --check",
|
|
|
|
"test:prettier:fix": "prettier --write 'src/**/*.{js,vue}'",
|
2022-11-21 15:37:14 +00:00
|
|
|
"prepare": "husky install"
|
2020-04-27 19:20:51 +00:00
|
|
|
},
|
2020-12-22 17:06:52 +00:00
|
|
|
"jest": {
|
|
|
|
"testRegex": "/test/.*.js?$"
|
|
|
|
},
|
2020-04-27 19:20:51 +00:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2020-06-01 19:54:34 +00:00
|
|
|
"url": "git+https://github.com/digitalocean/nginxconfig.io.git"
|
2020-04-27 19:20:51 +00:00
|
|
|
},
|
|
|
|
"keywords": [
|
|
|
|
"nginx"
|
|
|
|
],
|
|
|
|
"author": "DigitalOcean",
|
|
|
|
"bugs": {
|
2020-06-01 19:54:34 +00:00
|
|
|
"url": "https://github.com/digitalocean/nginxconfig.io/issues"
|
2020-04-27 19:20:51 +00:00
|
|
|
},
|
2020-06-01 19:54:34 +00:00
|
|
|
"homepage": "https://github.com/digitalocean/nginxconfig.io#readme",
|
2020-04-27 19:20:51 +00:00
|
|
|
"dependencies": {
|
2022-07-12 11:58:54 +00:00
|
|
|
"clipboard": "^2.0.11",
|
2020-04-28 11:26:46 +00:00
|
|
|
"clone": "^2.1.2",
|
2022-03-21 22:51:21 +00:00
|
|
|
"do-bulma": "github:do-community/do-bulma",
|
|
|
|
"do-vue": "github:do-community/do-vue",
|
2020-05-22 20:17:01 +00:00
|
|
|
"escape-html": "^1.0.3",
|
2021-07-27 09:49:51 +00:00
|
|
|
"files-diff": "0.0.6",
|
2020-10-14 16:12:16 +00:00
|
|
|
"json-to-pretty-yaml": "^1.2.2",
|
2021-05-13 14:30:04 +00:00
|
|
|
"memory-tar-create": "0.0.3",
|
2020-04-28 18:53:59 +00:00
|
|
|
"pretty-checkbox-vue": "^1.1.9",
|
2022-10-04 18:30:03 +00:00
|
|
|
"prismjs": "^1.29.0",
|
2023-08-07 16:01:05 +00:00
|
|
|
"qs": "^6.11.2",
|
2020-06-05 16:04:00 +00:00
|
|
|
"simple-js-sha2-256": "^1.0.7",
|
2024-01-23 20:19:02 +00:00
|
|
|
"vue": "^3.4.15",
|
|
|
|
"vue-i18n": "^9.9.0",
|
2022-11-28 13:11:30 +00:00
|
|
|
"vue-select": "^4.0.0-beta.6",
|
2022-02-04 21:10:20 +00:00
|
|
|
"webpack-require-from": "^1.8.6"
|
2020-04-27 19:20:51 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2024-01-23 20:19:02 +00:00
|
|
|
"@babel/eslint-parser": "^7.23.3",
|
2022-07-12 11:58:54 +00:00
|
|
|
"@babel/plugin-proposal-class-properties": "^7.18.6",
|
2024-01-23 20:19:02 +00:00
|
|
|
"@babel/plugin-transform-runtime": "^7.23.7",
|
|
|
|
"@babel/preset-env": "^7.23.8",
|
|
|
|
"@babel/runtime": "^7.23.8",
|
2022-07-12 11:58:54 +00:00
|
|
|
"@vue/cli-service": "^5.0.8",
|
2023-04-27 16:03:06 +00:00
|
|
|
"ajv": "^8.12.0",
|
2023-08-07 16:01:05 +00:00
|
|
|
"chalk": "^5.3.0",
|
2020-12-17 15:19:16 +00:00
|
|
|
"copyfiles": "^2.4.1",
|
2024-01-23 20:19:02 +00:00
|
|
|
"core-js": "^3.35.1",
|
2020-05-27 13:17:24 +00:00
|
|
|
"duplicate-package-checker-webpack-plugin": "^3.0.0",
|
2024-01-23 20:19:02 +00:00
|
|
|
"eslint": "^8.56.0",
|
|
|
|
"eslint-config-prettier": "^9.1.0",
|
2024-10-04 15:05:53 +00:00
|
|
|
"eslint-plugin-import": "^2.30.0",
|
2024-01-23 20:19:02 +00:00
|
|
|
"eslint-plugin-prettier": "^5.1.3",
|
|
|
|
"eslint-plugin-vue": "^9.20.1",
|
2023-04-27 16:03:06 +00:00
|
|
|
"husky": "^8.0.3",
|
2024-01-23 20:19:02 +00:00
|
|
|
"jest": "^29.7.0",
|
|
|
|
"jest-environment-jsdom": "^29.7.0",
|
2024-09-05 17:29:36 +00:00
|
|
|
"lint-staged": "^15.2.10",
|
2023-08-07 16:01:05 +00:00
|
|
|
"node-fetch": "^3.3.2",
|
2024-01-23 20:19:02 +00:00
|
|
|
"postcss": "^8.4.33",
|
|
|
|
"prettier": "3.2.4",
|
|
|
|
"sass": "^1.70.0",
|
|
|
|
"sass-loader": "^14.0.0",
|
|
|
|
"stylelint": "^16.2.0",
|
|
|
|
"stylelint-config-standard-scss": "^13.0.0",
|
|
|
|
"stylelint-order": "^6.0.4",
|
|
|
|
"vue-template-compiler": "^2.7.16",
|
2024-09-05 17:17:27 +00:00
|
|
|
"webpack": "^5.94.0",
|
2024-01-23 20:19:02 +00:00
|
|
|
"webpack-bundle-analyzer": "^4.10.1"
|
2022-02-04 21:10:20 +00:00
|
|
|
},
|
|
|
|
"overrides": {
|
2022-07-12 11:58:54 +00:00
|
|
|
"@vue/cli-service": {
|
2023-11-07 16:12:46 +00:00
|
|
|
"mini-css-extract-plugin": "^1.6.2",
|
|
|
|
"@achrinza/node-ipc": "^10.1.10"
|
2022-07-12 11:58:54 +00:00
|
|
|
},
|
|
|
|
"pretty-checkbox-vue": {
|
2023-04-27 16:03:06 +00:00
|
|
|
"vue": "^3.0.0"
|
2022-07-12 11:58:54 +00:00
|
|
|
}
|
2020-04-27 19:20:51 +00:00
|
|
|
}
|
|
|
|
}
|