2013-08-21 01:24:28 +04:00
|
|
|
{
|
2019-11-22 17:33:19 +03:00
|
|
|
"name": "kitsune",
|
2015-02-06 19:05:39 +03:00
|
|
|
"description": "Platform for Mozilla Support",
|
2014-09-22 23:54:48 +04:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "git://github.com/mozilla/kitsune.git"
|
|
|
|
},
|
2021-07-14 15:21:02 +03:00
|
|
|
"engines": {
|
2023-02-07 23:31:53 +03:00
|
|
|
"node": ">18.0.0"
|
2021-07-14 15:21:02 +03:00
|
|
|
},
|
2019-11-21 22:22:33 +03:00
|
|
|
"scripts": {
|
|
|
|
"install-dev": "npm install",
|
2020-03-20 14:47:26 +03:00
|
|
|
"install-prod": "npm ci",
|
2019-11-21 22:22:33 +03:00
|
|
|
"development": "npm run install-dev",
|
2022-01-11 18:43:26 +03:00
|
|
|
"stylelint": "npx stylelint kitsune/sumo/static/sumo/scss/**/*",
|
|
|
|
"watch:stylelint": "onchange 'kitsune/sumo/static/sumo/scss/**/*' -- npm run stylelint",
|
2021-10-18 18:51:17 +03:00
|
|
|
"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",
|
2019-12-11 14:05:40 +03:00
|
|
|
"watch": "npm run build && concurrently --raw npm:watch:*",
|
2021-08-04 13:52:54 +03:00
|
|
|
"browser-sync": "browser-sync start --no-open --files \"kitsune/**/*.html\" \"dist\" --proxy 127.0.0.1:8000",
|
2021-10-18 18:51:17 +03:00
|
|
|
"browser-sync:styleguide": "browser-sync start --no-open --serveStatic \"styleguide/build\" --files \"styleguide/build/**/*\" --port 4000 --reload-delay=300",
|
2021-08-04 13:52:54 +03:00
|
|
|
"start": "concurrently --raw --kill-others \"npm run webpack:watch\" \"npm run browser-sync\"",
|
2021-11-03 17:20:41 +03:00
|
|
|
"lint:webpack": "npx eslint --no-eslintrc -c webpack/eslintrc.js kitsune",
|
2021-12-16 17:53:52 +03:00
|
|
|
"webpack:build": "npx webpack build --config webpack.dev.js",
|
2022-03-02 13:23:04 +03:00
|
|
|
"webpack:build:pre-render": "npx webpack build --config webpack.pre-render.js",
|
2021-12-16 17:53:52 +03:00
|
|
|
"webpack:build:prod": "npx webpack build --config webpack.prod.js",
|
2022-10-05 19:09:10 +03:00
|
|
|
"webpack:watch": "env-cmd npx concurrently npm:webpack:watch:*",
|
2022-03-02 13:23:04 +03:00
|
|
|
"webpack:watch:dev": "npx webpack watch --config webpack.dev.js",
|
|
|
|
"webpack:watch:pre-render": "npx webpack watch --config webpack.pre-render.js",
|
2021-12-16 17:53:52 +03:00
|
|
|
"webpack:test": "npx webpack build --config webpack.test.js && npx mocha --require ./webpack/mocha-require dist/tests.js"
|
2019-11-21 22:22:33 +03:00
|
|
|
},
|
2019-11-22 17:33:19 +03:00
|
|
|
"license": "MPL-2.0",
|
2014-09-22 23:54:48 +04:00
|
|
|
"dependencies": {
|
2023-02-03 21:19:15 +03:00
|
|
|
"@babel/runtime": "^7.20.13",
|
2024-02-01 19:46:43 +03:00
|
|
|
"@selectize/selectize": "^0.15.2",
|
2023-02-03 21:19:15 +03:00
|
|
|
"@urql/svelte": "^3.0.3",
|
|
|
|
"codemirror": "^5.65.11",
|
|
|
|
"d3": "^3.5.17",
|
2023-09-21 20:48:44 +03:00
|
|
|
"graphql": "^16.8.1",
|
2023-02-03 21:19:15 +03:00
|
|
|
"jquery": "^3.6.3",
|
2022-08-15 13:00:54 +03:00
|
|
|
"jquery-ui": "1.13.2",
|
2023-04-24 20:22:55 +03:00
|
|
|
"nunjucks": "^3.2.4",
|
2023-02-03 21:19:15 +03:00
|
|
|
"svelte-navigator": "^3.2.2",
|
|
|
|
"underscore": "^1.13.6"
|
2019-11-21 22:22:33 +03:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2023-02-03 21:19:15 +03:00
|
|
|
"@babel/core": "^7.20.12",
|
|
|
|
"@babel/plugin-transform-runtime": "^7.19.6",
|
|
|
|
"@babel/preset-env": "^7.20.2",
|
2023-03-23 22:23:41 +03:00
|
|
|
"@mozilla-protocol/core": "16.1.0",
|
2022-08-15 13:00:54 +03:00
|
|
|
"@types/underscore": "^1.11.4",
|
2023-02-03 21:19:15 +03:00
|
|
|
"autoprefixer": "^10.4.13",
|
2023-02-04 00:50:31 +03:00
|
|
|
"babel-loader": "^9.1.2",
|
2024-01-11 22:58:02 +03:00
|
|
|
"browser-sync": "^3.0.2",
|
2023-02-03 21:19:15 +03:00
|
|
|
"chai": "^4.3.7",
|
2015-09-10 02:26:32 +03:00
|
|
|
"chai-lint": "0.1.1",
|
2023-02-03 21:19:15 +03:00
|
|
|
"color-string": "^1.9.1",
|
2023-02-04 00:50:31 +03:00
|
|
|
"compression-webpack-plugin": "^10.0.0",
|
2023-02-03 21:19:15 +03:00
|
|
|
"concurrently": "^7.6.0",
|
2023-02-04 00:50:31 +03:00
|
|
|
"copy-webpack-plugin": "^11.0.0",
|
2023-02-03 21:19:15 +03:00
|
|
|
"css-loader": "^6.7.3",
|
|
|
|
"cssnano": "^5.1.14",
|
2022-10-05 19:09:10 +03:00
|
|
|
"env-cmd": "^10.1.0",
|
2023-02-03 21:19:15 +03:00
|
|
|
"eslint": "^8.33.0",
|
2021-11-05 20:01:08 +03:00
|
|
|
"eslint-import-resolver-webpack": "^0.13.2",
|
2023-02-03 21:19:15 +03:00
|
|
|
"eslint-plugin-import": "^2.27.5",
|
2023-02-04 00:50:31 +03:00
|
|
|
"exports-loader": "^4.0.0",
|
|
|
|
"glob": "^8.1.0",
|
2022-01-11 18:43:26 +03:00
|
|
|
"html-webpack-plugin": "^5.5.0",
|
2023-02-03 21:19:15 +03:00
|
|
|
"image-minimizer-webpack-plugin": "^3.8.1",
|
2022-01-11 18:43:26 +03:00
|
|
|
"imagemin": "^8.0.1",
|
2021-10-18 16:08:25 +03:00
|
|
|
"imagemin-optipng": "^8.0.0",
|
2022-01-11 18:43:26 +03:00
|
|
|
"imagemin-svgo": "^10.0.1",
|
2023-02-04 00:50:31 +03:00
|
|
|
"jsdom": "^21.1.0",
|
2023-02-03 21:19:15 +03:00
|
|
|
"kss": "^3.1.0",
|
|
|
|
"locutus": "^2.0.16",
|
|
|
|
"mini-css-extract-plugin": "^2.7.2",
|
2023-02-04 00:50:31 +03:00
|
|
|
"mocha": "^10.2.0",
|
2022-01-11 18:43:26 +03:00
|
|
|
"onchange": "^7.1.0",
|
2021-09-02 14:46:22 +03:00
|
|
|
"path-parse": "^1.0.7",
|
2023-10-08 02:22:14 +03:00
|
|
|
"postcss": "^8.4.31",
|
2023-02-04 00:50:31 +03:00
|
|
|
"postcss-custom-properties": "^13.1.1",
|
|
|
|
"postcss-loader": "^7.0.2",
|
2023-02-03 21:19:15 +03:00
|
|
|
"sass": "^1.58.0",
|
2023-02-04 00:50:31 +03:00
|
|
|
"sass-loader": "^13.2.0",
|
|
|
|
"sinon": "^15.0.1",
|
2022-01-11 18:43:26 +03:00
|
|
|
"sinon-chai": "^3.7.0",
|
2021-12-16 17:53:52 +03:00
|
|
|
"source-map-support": "^0.5.21",
|
2022-01-11 18:43:26 +03:00
|
|
|
"style-loader": "^3.3.1",
|
2023-07-08 01:24:17 +03:00
|
|
|
"stylelint": "^15.10.1",
|
2023-02-13 22:31:30 +03:00
|
|
|
"stylelint-config-recommended-scss": "^9.0.0",
|
2023-02-04 00:50:31 +03:00
|
|
|
"stylelint-order": "^6.0.1",
|
2023-02-03 21:19:15 +03:00
|
|
|
"stylelint-scss": "^4.3.0",
|
|
|
|
"svelte-loader": "^3.1.5",
|
2023-02-04 00:50:31 +03:00
|
|
|
"svelte-preprocess": "^5.0.1",
|
2023-03-28 01:15:26 +03:00
|
|
|
"webpack": "^5.76.0",
|
2023-02-03 21:19:15 +03:00
|
|
|
"webpack-bundle-analyzer": "^4.7.0",
|
2023-11-29 12:11:30 +03:00
|
|
|
"webpack-cli": "^5.1.4",
|
2021-12-16 17:53:52 +03:00
|
|
|
"webpack-merge": "^5.8.0"
|
2014-09-22 23:54:48 +04:00
|
|
|
}
|
2013-08-21 01:24:28 +04:00
|
|
|
}
|