forked from mozilla/kitsune
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
95 lines (95 loc) · 3.7 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
{
"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:prod": "npx webpack build --config webpack.prod.js",
"webpack:watch": "npx webpack watch --config webpack.dev.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",
"codemirror": "^5.65.0",
"d3": "^3.1.5",
"jquery": "1.11.3",
"jquery-ui": "1.12.1",
"nunjucks": "^3.2.3",
"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",
"autoprefixer": "^10.4.1",
"babel-loader": "^8.2.2",
"browser-sync": "^2.27.7",
"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",
"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.1.3",
"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",
"webpack": "^5.65.0",
"webpack-bundle-analyzer": "^4.4.2",
"webpack-cli": "^4.7.2",
"webpack-merge": "^5.8.0"
}
}