-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathpackage.json
More file actions
60 lines (60 loc) · 2.21 KB
/
package.json
File metadata and controls
60 lines (60 loc) · 2.21 KB
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
{
"name": "@axiscommunications/fluent-illustrations",
"version": "11.0.0-alpha.0",
"description": "Illustrations",
"homepage": "https://github.com/AxisCommunications/fluent-components#readme",
"repository": {
"type": "git",
"url": "https://github.com/AxisCommunications/fluent-components.git",
"directory": "illustrations"
},
"license": "MIT",
"author": "Axis Communications AB",
"type": "module",
"exports": {
".": {
"types": "./lib/index.d.ts",
"import": "./lib/index.js"
}
},
"files": ["lib"],
"scripts": {
"prebuild": "pnpm run -C ../theme build",
"build": "pnpm prebuild && pnpm build:types && pnpm build:esm",
"build:esm": "esbuild --format=esm --bundle --sourcemap --packages=external --outdir=lib src/index.ts",
"build:types": "tsc -p tsconfig.build.json",
"check:unused-deps": "depcheck . --config=depcheck.yml",
"illustrations:build-react": "pnpm run illustrations:generate-svg && pnpm run illustrations:optimize-svg && pnpm illustrations:generate-react",
"illustrations:deploy": "mkdir -p src && pnpm illustrations:build-react && cp -a dist/react/* src && biome format --write src",
"illustrations:generate-react": "node scripts/generate-react.js --from ./dist/svg --to ./dist/react",
"illustrations:generate-svg": "node scripts/generate-svg.js --from ./assets --to ./dist/svg",
"illustrations:optimize-svg": "svgo --config=.svgo.yml -f ./dist/svg",
"lint": "tsc --noEmit && biome check",
"test": "vitest run",
"test:coverage": "vitest run --coverage",
"test:watch": "vitest watch"
},
"devDependencies": {
"@axiscommunications/fluent-theme": "workspace:*",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^14.2.1",
"@types/node": "^22.13.9",
"@types/react": "^18.3.12",
"@types/yargs": "17.0.32",
"@vitest/coverage-v8": "^3.0.8",
"esbuild": "^0.25.0",
"jsdom": "^26.0.0",
"react": "^18.2.0",
"svgo": "1.3.2",
"typescript": "^5.8.2",
"vitest": "^3.0.8",
"yargs": "17.7.2"
},
"peerDependencies": {
"@axiscommunications/fluent-theme": ">=9.0.0",
"react": ">=16.8.0 <19.0.0"
},
"publishConfig": {
"registry": "https://npm.pkg.github.com/"
}
}