-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
79 lines (79 loc) · 2.56 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
{
"name": "react-package-template",
"description": "A template for creating React packages",
"version": "1.0.0",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"types": "dist/types/index.d.ts",
"scripts": {
"build:cjs": "tsc --project tsconfig.cjs.json",
"build:esm": "tsc --project tsconfig.esm.json",
"build:storybook": "storybook build",
"build:types": "tsc --project tsconfig.types.json",
"build": "npm run clean && npm run build:cjs && npm run build:esm && npm run build:types",
"clean": "rimraf dist",
"format": "prettier --write .",
"prepare": "npm run build",
"prepublishOnly": "npm test && npm run build",
"storybook": "storybook dev -p 6006",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage --no-cache --runInBand",
"yalc:publish": "yalc publish",
"yalc:push": "yalc push"
},
"keywords": [
"react",
"package",
"template",
"typescript"
],
"author": "Andrew Dyer (https://github.com/andrewdyer)",
"repository": {
"type": "git",
"url": "https://github.com/andrewdyer/react-package-template.git"
},
"license": "MIT",
"devDependencies": {
"@chromatic-com/storybook": "^1.9.0",
"@storybook/addon-essentials": "^8.4.2",
"@storybook/addon-interactions": "^8.4.2",
"@storybook/addon-links": "^8.4.2",
"@storybook/addon-onboarding": "^8.4.2",
"@storybook/addon-webpack5-compiler-swc": "^1.0.5",
"@storybook/blocks": "^8.2.6",
"@storybook/react": "^8.2.6",
"@storybook/react-webpack5": "^8.4.2",
"@storybook/test": "^8.2.6",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.0.1",
"@types/jest": "^29.5.14",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"prettier": "^3.3.3",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"rimraf": "^6.0.1",
"storybook": "^8.4.2",
"ts-jest": "^29.2.5",
"typescript": "^5.6.3"
},
"peerDependencies": {
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
"prettier": {
"arrowParens": "avoid",
"bracketSameLine": true,
"printWidth": 100,
"semi": true,
"singleQuote": true,
"tabWidth": 4,
"trailingComma": "none"
},
"files": [
"dist"
]
}