зеркало из https://github.com/mozilla/kitsune.git
104 строки
4.1 KiB
JSON
104 строки
4.1 KiB
JSON
{
|
|
"name": "kitsune",
|
|
"description": "Platform for Mozilla Support",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git://github.com/mozilla/kitsune.git"
|
|
},
|
|
"engines": {
|
|
"node": ">18.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.20.13",
|
|
"@urql/svelte": "^3.0.3",
|
|
"codemirror": "^5.65.11",
|
|
"d3": "^3.5.17",
|
|
"graphql": "^16.8.1",
|
|
"jquery": "^3.6.3",
|
|
"jquery-ui": "1.13.2",
|
|
"nunjucks": "^3.2.4",
|
|
"svelte-navigator": "^3.2.2",
|
|
"tom-select": "^2.3.1",
|
|
"underscore": "^1.13.6"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.20.12",
|
|
"@babel/plugin-transform-runtime": "^7.19.6",
|
|
"@babel/preset-env": "^7.20.2",
|
|
"@mozilla-protocol/core": "16.1.0",
|
|
"@types/underscore": "^1.11.4",
|
|
"autoprefixer": "^10.4.13",
|
|
"babel-loader": "^9.1.2",
|
|
"browser-sync": "^3.0.3",
|
|
"chai": "^4.3.7",
|
|
"chai-lint": "0.1.1",
|
|
"color-string": "^1.9.1",
|
|
"compression-webpack-plugin": "^10.0.0",
|
|
"concurrently": "^7.6.0",
|
|
"copy-webpack-plugin": "^11.0.0",
|
|
"css-loader": "^6.7.3",
|
|
"cssnano": "^5.1.14",
|
|
"env-cmd": "^10.1.0",
|
|
"eslint": "^8.33.0",
|
|
"eslint-import-resolver-webpack": "^0.13.2",
|
|
"eslint-plugin-import": "^2.27.5",
|
|
"exports-loader": "^4.0.0",
|
|
"glob": "^8.1.0",
|
|
"html-webpack-plugin": "^5.5.0",
|
|
"image-minimizer-webpack-plugin": "^3.8.1",
|
|
"imagemin": "^8.0.1",
|
|
"imagemin-optipng": "^8.0.0",
|
|
"imagemin-svgo": "^10.0.1",
|
|
"jsdom": "^21.1.0",
|
|
"kss": "^3.1.0",
|
|
"locutus": "^2.0.16",
|
|
"mini-css-extract-plugin": "^2.7.2",
|
|
"mocha": "^10.2.0",
|
|
"onchange": "^7.1.0",
|
|
"path-parse": "^1.0.7",
|
|
"postcss": "^8.4.31",
|
|
"postcss-custom-properties": "^13.1.1",
|
|
"postcss-loader": "^7.0.2",
|
|
"sass": "^1.58.0",
|
|
"sass-loader": "^13.2.0",
|
|
"sinon": "^15.0.1",
|
|
"sinon-chai": "^3.7.0",
|
|
"source-map-support": "^0.5.21",
|
|
"style-loader": "^3.3.1",
|
|
"stylelint": "^15.10.1",
|
|
"stylelint-config-recommended-scss": "^9.0.0",
|
|
"stylelint-order": "^6.0.1",
|
|
"stylelint-scss": "^4.3.0",
|
|
"svelte-loader": "^3.1.5",
|
|
"svelte-preprocess": "^5.0.1",
|
|
"webpack": "^5.94.0",
|
|
"webpack-bundle-analyzer": "^4.7.0",
|
|
"webpack-cli": "^5.1.4",
|
|
"webpack-merge": "^5.8.0"
|
|
}
|
|
} |