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": {
|
|
|
|
"node": ">12.0.0 <13"
|
|
|
|
},
|
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",
|
2019-12-11 14:05:40 +03:00
|
|
|
"stylelint": "onchange 'kitsune/sumo/static/sumo/scss/**/*' -- npm run stylelint",
|
2020-04-28 15:46:51 +03:00
|
|
|
"copy:protocol": "mkdir -p assets/protocol assets/sumo/css && cp -r node_modules/@mozilla-protocol/core/protocol/* assets/protocol",
|
2019-11-27 16:43:46 +03:00
|
|
|
"build:docs:copyfonts": "cp -r node_modules/@mozilla-protocol/core/protocol/fonts styleguide/build/static",
|
|
|
|
"build:docs:copyprotocol": "cp -r node_modules/@mozilla-protocol/core/protocol styleguide/build/static",
|
2020-02-04 14:34:24 +03:00
|
|
|
"build:docs:copyprotocolimgs": "mkdir -p styleguide/build/static && cp -r node_modules/@mozilla-protocol/core/protocol/img styleguide/build/static",
|
2019-11-27 16:43:46 +03:00
|
|
|
"build:docs:copysumoimgs": "mkdir -p styleguide/build/static/sumo && cp -r kitsune/sumo/static/sumo/img styleguide/build/static/sumo",
|
2019-12-06 17:43:26 +03:00
|
|
|
"build:docs:copyproductimgs": "mkdir -p styleguide/build/static/products/img && cp -r kitsune/products/static/products/img styleguide/build/static/products",
|
2019-11-27 16:43:46 +03:00
|
|
|
"build:docs:copyjs": "cp -r kitsune/sumo/static/sumo/js styleguide/build/static/sumo",
|
2020-04-28 15:46:51 +03:00
|
|
|
"build:docs:copystyles": "mkdir -p styleguide/build/static/css && cp assets/sumo/css/screen.css styleguide/build/static/css/screen.css && cp assets/sumo/css/screen.css.map styleguide/build/static/css/screen.css.map",
|
2019-11-27 16:43:46 +03:00
|
|
|
"build:docs:styles": "sass styleguide/kss-template/kss-assets/scss/kss.scss styleguide/build/css/kss.css",
|
2019-12-10 17:26:39 +03:00
|
|
|
"build:docs:kss": "kss --config styleguide/kss-config.json --custom full",
|
2019-12-11 14:05:40 +03:00
|
|
|
"build": "concurrently --raw npm:build:*",
|
2019-12-18 21:55:23 +03:00
|
|
|
"watch:docs": "onchange 'styleguide/styleguide-examples/*.njk' 'styleguide/kss-template/**/*' -- npm run build:docs:kss",
|
2020-04-28 15:46:51 +03:00
|
|
|
"watch:docstyles": "onchange 'assets/sumo/css/screen.css' -- npm run build:docs:copystyles",
|
2019-12-11 14:05:40 +03:00
|
|
|
"watch:docjs": "onchange 'kitsune/sumo/static/sumo/js/**/*.js' -- npm run build:docs:copyjs",
|
|
|
|
"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",
|
2019-12-18 21:55:23 +03:00
|
|
|
"browser-sync:docs": "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-06-21 15:08:36 +03:00
|
|
|
"lint:webpack": "npx eslint --no-eslintrc -c webpack/eslintrc.js --ignore-pattern '**/tests/**' kitsune",
|
2021-06-21 13:10:11 +03:00
|
|
|
"webpack:build": "npx webpack build --mode development",
|
2021-07-13 12:10:37 +03:00
|
|
|
"webpack:build:prod": "npx webpack build --mode production",
|
|
|
|
"webpack:watch": "npx webpack watch --mode development"
|
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": {
|
2019-11-21 22:22:33 +03:00
|
|
|
"codemirror": "5.3.0",
|
|
|
|
"d3": "^3.1.5",
|
|
|
|
"es6-promise": "2.3.0",
|
|
|
|
"fetch": "1.0.0",
|
|
|
|
"flux": "~2.0.2",
|
|
|
|
"fontawesome": "^4.3.0",
|
|
|
|
"jquery": "1.11.3",
|
|
|
|
"jquery-ui": "~1.10.2",
|
|
|
|
"modernizr": "3.3.1",
|
|
|
|
"nunjucks": "^1.3.4",
|
|
|
|
"react": "0.13.3",
|
|
|
|
"underscore": "1.8.2"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
2021-02-17 17:41:53 +03:00
|
|
|
"@babel/cli": "^7.12.16",
|
|
|
|
"@babel/core": "^7.12.16",
|
|
|
|
"@babel/preset-env": "^7.12.16",
|
|
|
|
"@babel/preset-react": "^7.12.13",
|
|
|
|
"@babel/register": "^7.12.13",
|
2020-03-03 01:51:35 +03:00
|
|
|
"@mozilla-protocol/core": "10.0.1",
|
2021-07-13 16:34:23 +03:00
|
|
|
"autoprefixer": "^9.8.6",
|
2021-06-21 13:10:11 +03:00
|
|
|
"babel-loader": "^8.2.2",
|
2019-12-11 14:05:40 +03:00
|
|
|
"browser-sync": "^2.26.7",
|
2015-09-10 02:26:32 +03:00
|
|
|
"chai": "3.2.0",
|
|
|
|
"chai-lint": "0.1.1",
|
2021-09-02 14:46:22 +03:00
|
|
|
"color-string": "^1.6.0",
|
2019-12-11 14:05:40 +03:00
|
|
|
"concurrently": "^5.0.0",
|
2021-06-22 13:31:15 +03:00
|
|
|
"css-loader": "^5.2.6",
|
2021-07-13 16:34:23 +03:00
|
|
|
"cssnano": "^4.1.11",
|
2015-12-16 02:17:43 +03:00
|
|
|
"eslint": "1.10.3",
|
2021-06-21 13:54:54 +03:00
|
|
|
"exports-loader": "^3.0.0",
|
|
|
|
"expose-loader": "^3.0.0",
|
2021-07-13 16:34:23 +03:00
|
|
|
"html-webpack-plugin": "^5.3.2",
|
2021-06-21 13:54:54 +03:00
|
|
|
"imports-loader": "^3.0.0",
|
2019-11-22 17:33:19 +03:00
|
|
|
"kss": "^3.0.0-beta.25",
|
2021-09-02 14:46:22 +03:00
|
|
|
"locutus": "^2.0.15",
|
2021-06-22 13:31:15 +03:00
|
|
|
"mini-css-extract-plugin": "^1.6.0",
|
2015-09-10 02:26:32 +03:00
|
|
|
"mocha": "2.3.2",
|
2021-02-19 15:05:41 +03:00
|
|
|
"mocha-jsdom": "^2.0.0",
|
2019-11-22 17:33:19 +03:00
|
|
|
"nunjucks": "^1.3.4",
|
|
|
|
"onchange": "^6.1.0",
|
2021-09-02 14:46:22 +03:00
|
|
|
"path-parse": "^1.0.7",
|
2021-07-13 16:34:23 +03:00
|
|
|
"postcss": "^8.3.5",
|
|
|
|
"postcss-custom-properties": "^9.2.0",
|
|
|
|
"postcss-loader": "^6.1.1",
|
2019-11-22 17:33:19 +03:00
|
|
|
"sass": "^1.23.2",
|
2021-06-22 13:31:15 +03:00
|
|
|
"sass-loader": "^12.0.0",
|
2015-09-10 02:26:32 +03:00
|
|
|
"sinon": "1.16.1",
|
|
|
|
"sinon-chai": "2.8.0",
|
2021-06-22 13:31:15 +03:00
|
|
|
"style-loader": "^2.0.0",
|
2019-11-22 17:33:19 +03:00
|
|
|
"stylelint": "^11.1.1",
|
|
|
|
"stylelint-config-recommended-scss": "^3.3.0",
|
|
|
|
"stylelint-order": "^1.0.0",
|
|
|
|
"stylelint-scss": "^3.12.0",
|
2020-05-26 13:17:50 +03:00
|
|
|
"svgo": "^1.3.2",
|
2021-06-21 13:10:11 +03:00
|
|
|
"webpack": "^5.38.1",
|
|
|
|
"webpack-bundle-analyzer": "^4.4.2",
|
|
|
|
"webpack-cli": "^4.7.2"
|
2014-09-22 23:54:48 +04:00
|
|
|
}
|
2013-08-21 01:24:28 +04:00
|
|
|
}
|