-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
82 lines (82 loc) · 2.85 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
{
"name": "eri",
"version": "0.0.0",
"description": "A minimal design system",
"main": "dist",
"module": "dist",
"types": "dist/index.d.ts",
"scripts": {
"build": "rm -rf dist && run-p build:*",
"build:css": "parcel build --no-content-hash --target css && sed -i.bak 's/Mona-Sans.11400c5b.woff2/Mona-Sans.woff2/g' css-build/*.css && mkdir -p dist && mv css-build/*.css dist && mv css-build/Mona-Sans.11400c5b.woff2 dist/Mona-Sans.woff2 && rm -r css-build",
"build:js": "tsc --project tsconfig.build.json && node scripts/processBuiltFiles.mjs",
"fmt": "npm run test:lint:css -- --fix && npm run test:lint:scripts -- --fix && prettier -u --write '**/*'",
"start": "parcel --open -p 1235 --target styleguide",
"style-guide:build": "rm -rf build && parcel build --target styleguide && echo 'User-agent: GPTBot\nDisallow: /\n\nUser-agent: ChatGPT-User\nDisallow: /\n\nUser-agent: anthropic-ai\nDisallow: /\n\nUser-agent: Claude-Web\nDisallow: /\n\nUser-agent: ClaudeBot\nDisallow: /' > build/robots.txt",
"test": "run-p test:*",
"test:audit": "npm audit --audit-level=low",
"test:fmt": "prettier --check -u '**/*'",
"test:lint": "run-p test:lint:*",
"test:lint:css": "stylelint '**/*.css'",
"test:lint:scripts": "eslint",
"test:types": "tsc --noEmit"
},
"repository": {
"type": "git",
"url": "git+https://github.com/benji6/eri.git"
},
"author": "benji6",
"license": "SEE LICENSE IN LICENSE",
"bugs": {
"url": "https://github.com/benji6/eri/issues"
},
"homepage": "https://github.com/benji6/eri#readme",
"browserslist": "defaults and since 2023",
"targets": {
"css": {
"distDir": "css-build",
"optimize": false,
"source": "src/index.ts",
"sourceMap": false
},
"styleguide": {
"distDir": "build",
"scopeHoist": false,
"source": "docs/index.html"
}
},
"dependencies": {
"react-transition-state": "^2.1.1"
},
"devDependencies": {
"@eslint/js": "^9.11.1",
"@types/eslint__js": "^8.42.3",
"@types/node": "^22.0.2",
"@types/offscreencanvas": "^2019.7.0",
"@types/react": "^19.0.2",
"@types/react-dom": "^19.0.2",
"eslint": "^9.11.1",
"eslint-config-prettier": "^10.0.1",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-react": "^7.30.0",
"highlight.js": "^11.5.0",
"npm-run-all": "^4.1.5",
"parcel": "^2.3.2",
"prettier": "^3.0.0",
"process": "^0.11.10",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react-element-to-jsx-string": "^17.0.0",
"react-router-dom": "^6.2.2",
"semantic-release": "^24.0.0",
"stylelint": "^16.0.2",
"stylelint-config-recommended": "^15.0.0",
"svgo": "^3.3.2",
"typescript": "^5.6.2",
"typescript-eslint": "^8.7.0"
},
"peerDependencies": {
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react-router-dom": "^6.2.2"
}
}