-
Notifications
You must be signed in to change notification settings - Fork 18
/
package.json
43 lines (43 loc) · 1.65 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
{
"dependencies": {
"@18f/identity-build-sass": "^3.0.0",
"@18f/identity-design-system": "^9.0.0",
"@18f/private-eye": "^2.1.0",
"anchor-js": "^4.2.2",
"concurrently": "^8.0.1",
"esbuild": "^0.17.15",
"simple-jekyll-search": "^1.10.0"
},
"devDependencies": {
"@18f/eslint-plugin-identity": "^2.0.0",
"@typescript-eslint/eslint-plugin": "^5.16.0",
"@typescript-eslint/parser": "^5.16.0",
"cspell": "^6.28.0",
"eslint": "^8.11.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.29.4",
"eslint-plugin-react-hooks": "^4.3.0",
"prettier": "^2.5.1",
"typescript": "^4.6.2"
},
"scripts": {
"clean:js": "rm -rf _site/assets/js",
"cspell": "cspell --config cspell.json --no-progress '**/*.md' --exclude 'vendor/**' --exclude 'node_modules/**'",
"prebuild:js:common": "npm run clean:js",
"build:js:common": "esbuild `find assets/js -type f -not -name '*.min.*'` --outdir=_site/assets/js --bundle --format=esm --splitting",
"build:js:dev": "npm run build:js:common -- --sourcemap=inline",
"build:js:prod": "npm run build:js:common -- --minify",
"prebuild:css": "mkdir -p _site/assets/css",
"build:css": "build-sass assets/scss/*.scss --out-dir=_site/assets/css",
"build": "concurrently npm:build:js:prod npm:build:css",
"watch:js:dev": "npm run build:js:dev -- --watch",
"watch:css": "npm run build:css -- --watch",
"watch": "concurrently npm:watch:*",
"prestart": "npm run clean:js",
"start": "npm run watch",
"lint": "eslint assets/js --ext .js,.ts",
"typecheck": "tsc",
"pages": "npm run build"
}
}