-
Notifications
You must be signed in to change notification settings - Fork 16
/
package.json
112 lines (112 loc) · 3.77 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
105
106
107
108
109
110
111
112
{
"name": "@18f/identity-design-system",
"version": "9.4.0",
"description": "The global style of Login.gov",
"main": "./build/esm/index.js",
"type": "module",
"exports": {
".": {
"require": "./build/cjs/index.js",
"import": "./build/esm/index.js"
},
"./auto": {
"require": "./build/cjs/auto.js",
"import": "./build/esm/auto.js"
},
"./init": {
"require": "./build/cjs/init.js",
"import": "./build/esm/init.js"
},
"./build/cjs/auto": "./build/cjs/auto.js",
"./build/cjs/auto.js": "./build/cjs/auto.js",
"./build/cjs/index": "./build/cjs/index.js",
"./build/cjs/index.js": "./build/cjs/index.js",
"./build/esm/auto": "./build/esm/auto.js",
"./build/esm/auto.js": "./build/esm/auto.js",
"./build/esm/index": "./build/esm/index.js",
"./build/esm/index.js": "./build/esm/index.js",
"./dist/assets/js/main": "./dist/assets/js/main.js",
"./dist/assets/js/main.js": "./dist/assets/js/main.js"
},
"types": "./index.d.ts",
"sideEffects": [
"./dist/assets/js/main.js",
"./build/*/auto.js",
"./build/*/init.js"
],
"scripts": {
"build:js": "esbuild main=src/js/auto.js src/js/init.ts --bundle --minify --outdir=dist/assets/js --target=`./scripts/esbuild-targets.mjs`",
"build:css": "build-sass src/scss/*.scss --load-path=./src/scss/packages --out-dir=dist/assets/css",
"build:docs:css": "npm run build:css --",
"build:docs:js": "npm run build:js --",
"build:docs": "run-p build:docs:*",
"build:pkg:css": "npm run build:css",
"build:pkg:cjs": "esbuild `find src/js -type f` --outdir=build/cjs --format=cjs --target=`./scripts/esbuild-targets.mjs`",
"postbuild:pkg:cjs": "echo '{\"type\":\"commonjs\"}' > build/cjs/package.json",
"build:pkg:esm": "esbuild `find src/js -type f` --outdir=build/esm --format=esm --target=`./scripts/esbuild-targets.mjs`",
"build:pkg": "run-p build:pkg:*",
"lint:js": "eslint src/js test --ext .js,.ts",
"lint:css": "stylelint src/scss",
"watch:docs:css": "npm run build:docs:css -- --watch",
"watch:docs:js": "npm run build:docs:js -- --watch",
"watch:docs": "run-p watch:docs:*",
"start": "make start",
"clean": "make clean",
"lint": "run-p lint:*",
"typecheck": "tsc",
"test": "make test",
"build": "run-p build:docs build:pkg",
"pages": "make build-assets",
"prepublishOnly": "make lint && make clean && make build-assets build-package"
},
"files": [
"index.d.ts",
"build",
"dist/assets/**/*",
"packages",
"!node_modules"
],
"repository": {
"type": "git",
"url": "git+https://github.com/18F/identity-design-system.git"
},
"author": "18F",
"license": "CC0-1.0",
"engines": {
"node": ">=12",
"npm": ">6"
},
"bugs": {
"url": "https://github.com/18F/identity-design-system/issues"
},
"homepage": "https://github.com/18F/identity-design-system#readme",
"dependencies": {
"@types/uswds__uswds": "^3.10.0",
"@uswds/uswds": "^3.10.0"
},
"devDependencies": {
"@18f/eslint-plugin-identity": "^2.0.0",
"@18f/identity-build-sass": "^3.1.0",
"@18f/identity-stylelint-config": "^4.1.0",
"@axe-core/puppeteer": "^4.10.1",
"@happy-dom/global-registrator": "^15.11.6",
"@types/node": "^22.9.1",
"@types/pixelmatch": "^5.2.6",
"@types/pngjs": "^6.0.5",
"@typescript-eslint/eslint-plugin": "^8.15.0",
"@typescript-eslint/parser": "^8.15.0",
"browserslist": "^4.24.2",
"esbuild": "^0.24.0",
"eslint": "^8.57.1",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-prettier": "^5.2.1",
"npm-run-all": "^4.1.5",
"pixelmatch": "^6.0.0",
"pngjs": "^7.0.0",
"prettier": "^3.3.3",
"puppeteer": "^23.8.0",
"stylelint": "^16.10.0",
"svgo": "^3.3.2",
"typescript": "^5.6.3"
}
}