-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
39 lines (39 loc) · 1.01 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
{
"name": "@acme/ui",
"version": "0.0.1",
"private": true,
"license": "MIT",
"sideEffects": false,
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"files": [
"dist/**"
],
"scripts": {
"build": "tsup src/index.tsx --format esm,cjs --dts --external react",
"clean": "rimraf .turbo node_modules dist build",
"dev": "npm run build -- --watch",
"lint": "npm run lint:code && npm run lint:styles",
"lint:code": "TIMING=1 eslint 'src/**/*.{js,jsx,ts,tsx}'",
"lint:styles": "TIMING=1 stylelint --aei 'src/**/*.{html,css,scss}'",
"test": "jest",
"lint:staged": "lint-staged -q"
},
"jest": {
"preset": "@acme/jest-preset/node"
},
"peerDependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@types/jest": "^29.5.5",
"@types/react": "^18.2.22",
"@types/react-dom": "^18.2.7",
"jest": "^29.7.0",
"stylelint": "^15.10.3",
"tsup": "^7.2.0",
"typescript": "^5.2.2"
}
}