-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
83 lines (83 loc) · 3.06 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
{
"name": "addons-blog",
"version": "1.4.0",
"description": "The AMO Blog.",
"main": "index.js",
"author": "Mozilla Add-ons Team",
"license": "MPL-2.0",
"private": true,
"scripts": {
"prettier": "prettier --write '**'",
"prettier-ci": "prettier -c '**'",
"prettier-dev": "pretty-quick --branch main",
"test": "npm run clean-tests && SKIP_PRODUCTION_BUILD_TESTS='1' jest",
"test-ci": "npm run test -- --coverage",
"test-build": "jest ./tests/integration-production.test.js",
"clean": "rimraf './build/'",
"clean-tests": "rimraf -g './tests/fixtures/dist/**/*!(.gitkeep)'",
"build": "npm run clean && eleventy --config=./eleventy.config.js && npm run sass:build && npm run script:build",
"build:debug": "DEBUG=Eleventy* npm run build:serve",
"build:production": "rimraf './dist/' && ELEVENTY_ENV=production npm run build && bin/asset-pipeline",
"build:serve": "eleventy --serve --port 8081 --config=./eleventy.config.js",
"build:wptheme": "BUILD_WORDPRESS_THEME='1' npm run build && cd build/ && zip -r ../wptheme.zip .",
"start": "npm run clean && DONT_FIX_INTERNAL_URLS='1' npm-run-all -p build:serve sass:* script:*",
"start:debug": "npm run clean && npm-run-all -p build:debug sass:* script:*",
"start:nocache": "NO_CACHE='1' npm run start",
"start:https": "USE_HTTPS='1' npm run start",
"sass:build": "bin/build-styles",
"sass:watch": "chokidar 'src/assets/css/**/*.scss' -c 'npm run sass:build'",
"script:build": "bin/build-script",
"script:watch": "chokidar 'src/assets/js/*.js' -c 'npm run script:build'",
"lint:php": "find build -name '*.php' -print0 | xargs -0 -n1 -P8 php -l",
"lint:js": "eslint .",
"lint:scss": "stylelint **/*.scss"
},
"devDependencies": {
"@11ty/eleventy": "^2.0.1",
"@11ty/eleventy-plugin-rss": "^1.1.1",
"@mozilla-protocol/tokens": "^5.0.5",
"@prettier/plugin-php": "^0.19.7",
"acorn-walk": "^8.3.2",
"addons-frontend-blog-utils": "^0.35.0",
"addons-moz-compare": "^1.3.0",
"chokidar-cli": "^3.0.0",
"dompurify": "^3.1.6",
"eslint": "^8.57.0",
"eslint-config-amo": "^5.9.0",
"flat-cache": "^3.1.1",
"focus-visible": "^5.2.0",
"fs-extra": "^11.1.1",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jsdom": "^22.1.0",
"luxon": "^3.4.4",
"markdown-it-container": "^3.0.0",
"node-fetch": "^2.6.1",
"node-sass": "^9.0.0",
"normalize.css": "^8.0.1",
"npm-run-all": "^4.1.5",
"nunjucks": "^3.2.4",
"photon-colors": "^3.3.2",
"postcss": "8.4.31",
"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": "^2.8.8",
"pretty-quick": "^3.1.0",
"rimraf": "^5.0.7",
"string-replace-async": "^2.0.0",
"stylelint": "^15.11.0",
"stylelint-config-standard-scss": "^11.1.0",
"terser": "5.31.3",
"ua-parser-js": "^1.0.38",
"url-parse": "^1.5.1"
},
"browserslist": [
"> 0.5%",
"last 2 versions",
"Firefox ESR",
"not dead"
]
}