forked from mozilla/kitsune
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
104 lines (104 loc) · 4.12 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
96
97
98
99
100
101
102
103
104
{
"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",
"@selectize/selectize": "^0.15.2",
"@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",
"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.2",
"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.76.0",
"webpack-bundle-analyzer": "^4.7.0",
"webpack-cli": "^5.1.4",
"webpack-merge": "^5.8.0"
}
}