forked from mozilla/extension-workshop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
96 lines (96 loc) · 3.32 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
{
"name": "extension-workshop",
"version": "2.0.0",
"description": "Firefox Extension Workshop",
"main": "assets/scripts/scripts.js",
"repository": "https://github.com/mozilla/extension-workshop",
"license": "MPL-2.0",
"private": true,
"browserslist": [
"> 0.5%",
"last 2 versions",
"Firefox ESR",
"not dead"
],
"dependencies": {
"dompurify": "3.1.0",
"foundation-sites": "6.7.5",
"glob": "10.3.12",
"hamburgers": "1.1.3",
"jquery": "3.7.1",
"liquidjs": "10.11.1",
"lunr": "2.3.9",
"slick-carousel": "1.8.1",
"velocity-animate": "1.5.2",
"velocity-ui-pack": "1.2.2"
},
"devDependencies": {
"@11ty/eleventy": "2.0.1",
"@11ty/eleventy-plugin-syntaxhighlight": "5.0.0",
"acorn": "8.11.3",
"acorn-walk": "8.3.2",
"chalk": "4.1.2",
"chokidar-cli": "3.0.0",
"eleventy-xml-plugin": "0.1.0",
"eslint": "8.57.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-prettier": "5.1.3",
"fs-extra": "11.2.0",
"gray-matter": "4.0.3",
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
"markdown-it": "14.1.0",
"markdown-it-container": "3.0.0",
"node-fetch": "2.6.7",
"node-sass": "8.0.0",
"npm-run-all": "4.1.5",
"postcss": "8.4.38",
"postcss-scss": "4.0.9",
"postcss-url": "10.1.3",
"posthtml": "0.16.6",
"posthtml-beautify": "0.7.0",
"posthtml-postcss": "0.5.0",
"posthtml-urls": "1.0.0",
"prettier": "3.2.5",
"pretty-quick": "4.0.0",
"prismjs": "1.29.0",
"rimraf": "5.0.5",
"serialize-javascript": "6.0.2",
"slugify": "1.6.6",
"stylelint": "14.16.1",
"stylelint-config-prettier-scss": "0.0.1",
"stylelint-config-standard": "29.0.0",
"stylelint-config-standard-scss": "6.1.0",
"terser": "5.30.4",
"url-parse": "1.5.10"
},
"scripts": {
"lint": "eslint .",
"stylelint": "stylelint **/*.scss",
"prettier": "prettier --write '**'",
"prettier-ci": "prettier -c '**'",
"prettier-dev": "pretty-quick --branch master",
"test-ci": "npm run prettier-ci && npm run lint && npm run stylelint && jest",
"test": "npm run clean-tests && jest --watch",
"clean": "rimraf './build/' './dist/'",
"clean-dist": "rimraf './dist/'",
"clean-tests": "rimraf './tests/fixtures/dist/**/*!(.gitkeep)'",
"build": "npm run clean && eleventy --config=./eleventy.config.js && npm run sass:build && npm run uglify:build",
"build:unpublished": "ELEVENTY_ENV=production BUILD_UNPUBLISHED=1 npm run build && bin/asset-pipeline",
"build:production": "ELEVENTY_ENV=production npm run build && bin/asset-pipeline",
"build:serve": "eleventy --serve --port=8081 --config=./eleventy.config.js",
"build:debug": "DEBUG=Eleventy* eleventy --serve --port=8081 --config=./eleventy.config.js",
"start": "npm run clean && BUILD_UNPUBLISHED=1 npm-run-all -p build:serve sass:* uglify:*",
"start:debug": "npm run clean && BUILD_UNPUBLISHED=1 npm-run-all -p build:debug sass:* uglify:*",
"sass:build": "bin/build-styles",
"sass:watch": "chokidar 'src/assets/css/*.scss' -c 'npm run sass:build'",
"uglify:build": "bin/build-script",
"uglify:watch": "chokidar 'src/assets/js/*.js' -c 'npm run uglify:build'"
},
"jest": {
"testRegex": ".*?\\.test\\.js$",
"watchPathIgnorePatterns": [
"<rootDir>/tests/fixtures/.*?"
]
}
}