-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
81 lines (81 loc) · 2.63 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
{
"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.f08e3f6b.woff2/Mona-Sans.woff2/g' css-build/*.css && mkdir -p dist && mv css-build/*.css dist && mv css-build/Mona-Sans.f08e3f6b.woff2 dist/Mona-Sans.woff2 && rm -r css-build",
"build:js": "tsc --project tsconfig.build.json && node scripts/processBuiltFiles",
"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",
"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 --ext js,ts,tsx .",
"test:types": "tsc --noEmit"
},
"repository": {
"type": "git",
"url": "git+https://github.com/benji6/eri.git"
},
"author": "benji6",
"license": "MIT",
"bugs": {
"url": "https://github.com/benji6/eri/issues"
},
"homepage": "https://github.com/benji6/eri#readme",
"browserslist": "since 2022 and >1%",
"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": {
"@types/node": "^22.0.2",
"@types/offscreencanvas": "^2019.7.0",
"@types/react": "^18.0.9",
"@types/react-dom": "^18.0.4",
"@typescript-eslint/eslint-plugin": "^7.1.0",
"@typescript-eslint/parser": "^7.1.0",
"eslint": "^8.16.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-react": "^7.30.0",
"eslint-plugin-react-hooks": "^4.3.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": "^18.1.0",
"react-dom": "^18.1.0",
"react-element-to-jsx-string": "^15.0.0",
"react-router-dom": "^6.2.2",
"semantic-release": "^24.0.0",
"stylelint": "^16.0.2",
"stylelint-config-recommended": "^14.0.0",
"typescript": "^5.0.2"
},
"peerDependencies": {
"react": "^18.1.0",
"react-dom": "^18.1.0",
"react-router-dom": "^6.2.2"
}
}