kitsune/package.json

106 строки
4.2 KiB
JSON

{
"name": "kitsune",
"description": "Platform for Mozilla Support",
"repository": {
"type": "git",
"url": "git://github.com/mozilla/kitsune.git"
},
"engines": {
"node": ">16.0.0"
},
"scripts": {
"install-dev": "npm install",
"install-prod": "npm ci",
"development": "npm run install-dev",
"stylelint": "npx stylelint kitsune/sumo/static/sumo/scss/**/*",
"watch:stylelint": "onchange 'kitsune/sumo/static/sumo/scss/**/*' -- npm run stylelint",
"build:styleguide:copy": "mkdir -p styleguide/build/static && cp -r dist/. styleguide/build/static/",
"build:styleguide:styles": "sass styleguide/kss-template/kss-assets/scss/kss.scss styleguide/build/css/kss.css",
"build:styleguide:kss": "kss --config styleguide/kss-config.json --custom full",
"build:styleguide": "npm run webpack:build && concurrently --raw npm:build:styleguide:*",
"watch:styleguide": "onchange 'styleguide/styleguide-examples/*.njk' 'styleguide/kss-template/**/*' -- npm run build:styleguide:kss",
"watch": "npm run build && concurrently --raw npm:watch:*",
"browser-sync": "browser-sync start --no-open --files \"kitsune/**/*.html\" \"dist\" --proxy 127.0.0.1:8000",
"browser-sync:styleguide": "browser-sync start --no-open --serveStatic \"styleguide/build\" --files \"styleguide/build/**/*\" --port 4000 --reload-delay=300",
"start": "concurrently --raw --kill-others \"npm run webpack:watch\" \"npm run browser-sync\"",
"lint:webpack": "npx eslint --no-eslintrc -c webpack/eslintrc.js kitsune",
"webpack:build": "npx webpack build --config webpack.dev.js",
"webpack:build:pre-render": "npx webpack build --config webpack.pre-render.js",
"webpack:build:prod": "npx webpack build --config webpack.prod.js",
"webpack:watch": "env-cmd npx concurrently npm:webpack:watch:*",
"webpack:watch:dev": "npx webpack watch --config webpack.dev.js",
"webpack:watch:pre-render": "npx webpack watch --config webpack.pre-render.js",
"webpack:test": "npx webpack build --config webpack.test.js && npx mocha --require ./webpack/mocha-require dist/tests.js"
},
"license": "MPL-2.0",
"dependencies": {
"@babel/runtime": "^7.16.7",
"@urql/svelte": "^3.0.1",
"codemirror": "^5.65.0",
"d3": "^3.1.5",
"graphql": "^16.6.0",
"jquery": "^3.6.0",
"jquery-ui": "1.13.2",
"nunjucks": "^3.2.3",
"svelte-navigator": "^3.1.5",
"underscore": "^1.13.2"
},
"devDependencies": {
"@babel/core": "^7.16.7",
"@babel/plugin-transform-react-jsx": "^7.16.7",
"@babel/plugin-transform-runtime": "^7.16.7",
"@babel/preset-env": "^7.16.7",
"@mozilla-protocol/core": "10.0.1",
"@types/underscore": "^1.11.4",
"autoprefixer": "^10.4.1",
"babel-loader": "^8.2.2",
"browser-sync": "^2.27.11",
"chai": "^4.3.4",
"chai-lint": "0.1.1",
"color-string": "^1.9.0",
"compression-webpack-plugin": "^9.2.0",
"concurrently": "^7.0.0",
"copy-webpack-plugin": "^10.2.0",
"css-loader": "^6.5.1",
"cssnano": "^5.0.14",
"env-cmd": "^10.1.0",
"eslint": "^8.6.0",
"eslint-import-resolver-webpack": "^0.13.2",
"eslint-plugin-import": "^2.25.4",
"exports-loader": "^3.1.0",
"glob": "^7.2.0",
"html-webpack-plugin": "^5.5.0",
"image-minimizer-webpack-plugin": "^3.2.1",
"imagemin": "^8.0.1",
"imagemin-optipng": "^8.0.0",
"imagemin-svgo": "^10.0.1",
"jsdom": "^19.0.0",
"kss": "^3.0.1",
"locutus": "^2.0.15",
"mini-css-extract-plugin": "^2.4.5",
"mocha": "^9.2.2",
"onchange": "^7.1.0",
"path-parse": "^1.0.7",
"postcss": "^8.4.5",
"postcss-custom-properties": "^12.0.2",
"postcss-loader": "^6.2.1",
"react": "^0.13.3",
"sass": "^1.45.2",
"sass-loader": "^12.4.0",
"sinon": "12.0.1",
"sinon-chai": "^3.7.0",
"source-map-support": "^0.5.21",
"style-loader": "^3.3.1",
"stylelint": "^14.2.0",
"stylelint-config-recommended-scss": "^5.0.2",
"stylelint-order": "^5.0.0",
"stylelint-scss": "^4.1.0",
"svelte-loader": "^3.1.2",
"svelte-preprocess": "^4.10.2",
"webpack": "^5.65.0",
"webpack-bundle-analyzer": "^4.4.2",
"webpack-cli": "^4.7.2",
"webpack-merge": "^5.8.0"
}
}