7edf8038创建于 2022年12月15日历史提交
{
  "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": "",
    "build:prism": "",
    "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}' --cache",
    "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",
    "prepare": "husky install"
  },
  "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.45",
    "vue-i18n": "^9.2.2",
    "vue-select": "^4.0.0-beta.6",
    "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.6",
    "@babel/preset-env": "^7.20.2",
    "@babel/runtime": "^7.20.1",
    "@vue/cli-service": "^5.0.8",
    "ajv": "^8.11.2",
    "chalk": "^5.1.2",
    "copyfiles": "^2.4.1",
    "core-js": "^3.26.1",
    "duplicate-package-checker-webpack-plugin": "^3.0.0",
    "eslint": "^8.28.0",
    "eslint-plugin-vue": "^9.7.0",
    "esm": "^3.2.25",
    "husky": "^8.0.2",
    "jest": "^29.3.1",
    "jest-environment-jsdom": "^29.3.1",
    "lint-staged": "^13.0.3",
    "node-fetch": "^3.3.0",
    "postcss": "^8.4.19",
    "sass": "^1.56.1",
    "sass-loader": "^13.2.0",
    "stylelint": "^14.15.0",
    "stylelint-config-standard-scss": "^6.1.0",
    "stylelint-order": "^5.0.0",
    "vue-template-compiler": "^2.7.14",
    "webpack": "^5.75.0",
    "webpack-bundle-analyzer": "^4.7.0"
  },
  "lint-staged": {
    "*.{js,vue}": [
      "eslint --quiet --cache --fix"
    ],
    "*.scss": [
      "stylelint --config node_modules/do-bulma/.stylelintrc.json --fix"
    ]
  },
  "overrides": {
    "@vue/cli-service": {
      "mini-css-extract-plugin": "^1.6.2"
    },
    "pretty-checkbox-vue": {
      "vue": "$vue"
    }
  }
}