-
Notifications
You must be signed in to change notification settings - Fork 37
/
package.json
149 lines (149 loc) · 4.79 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
{
"name": "@kentcdodds/react-workshop-app",
"version": "0.0.0-semantically-released",
"publishConfig": {
"access": "public"
},
"description": "An abstraction for all my React workshops",
"main": "dist/@kentcdodds/react-workshop-app.esm.js",
"types": "dist/@kentcdodds/react-workshop-app.esm.d.ts",
"keywords": [],
"author": "Kent C. Dodds <me@kentcdodds.com> (https://kentcdodds.com)",
"license": "MIT",
"engines": {
"node": ">=12",
"npm": ">=6"
},
"repository": {
"type": "git",
"url": "https://github.com/kentcdodds/react-workshop-app"
},
"bugs": {
"url": "https://github.com/kentcdodds/react-workshop-app/issues"
},
"homepage": "https://github.com/kentcdodds/react-workshop-app#readme",
"files": [
"dist",
"dev-tools-build",
"codegen.d.ts",
"codegen.js",
"craco.config.js",
"setup-tests.d.ts",
"setup-tests.js",
"dev-tools.d.ts",
"dev-tools.js",
"server.d.ts",
"server.js",
"test-utils.d.ts",
"test-utils.js"
],
"scripts": {
"predev": "npm run build",
"dev": "concurrently \"npm:dev:*\"",
"dev:build": "concurrently \"npm:dev:build:*\"",
"dev:build:main": "kcd-scripts build --watch --no-clean",
"dev:build:bundle:main": "kcd-scripts build --bundle esm --no-clean --watch",
"dev:build:bundle:dev-tools": "cross-env BUILD_INPUT=\"src/dev-tools/*.{ts,tsx}\" BUILD_FILENAME_PREFIX=\"dev-tools-build\" kcd-scripts build --bundle esm --no-clean --watch",
"dev:examples": "cd ./example/react-fundamentals && npm start",
"setup": "npm run install:main && npm run install:examples && npm run validate && npm run validate:examples",
"install:main": "npm install",
"install:examples": "cd ./example/react-fundamentals && npm install",
"validate:examples": "cd ./example/react-fundamentals && npm run validate",
"build": "npm run build:main && concurrently \"npm:build:bundle:*\"",
"build:main": "kcd-scripts build",
"build:bundle:main": "kcd-scripts build --bundle esm --no-clean",
"build:bundle:dev-tools": "cross-env BUILD_INPUT=\"src/dev-tools/*.{ts,tsx}\" BUILD_FILENAME_PREFIX=\"dev-tools-build\" kcd-scripts build --bundle esm --no-clean",
"lint": "kcd-scripts lint",
"test": "kcd-scripts test",
"test:coverage": "kcd-scripts test --coverage",
"typecheck": "kcd-scripts typecheck",
"test:debug": "node --inspect-brk node_modules/kcd-scripts/dist/scripts/test.js --runInBand --no-cache",
"validate": "npm run build && kcd-scripts validate test:coverage,typecheck,lint"
},
"dependencies": {
"@babel/runtime": "^7.13.10",
"@emotion/core": "^10.0.35",
"@mapbox/rehype-prism": "^0.8.0",
"@mdx-js/loader": "^2.1.1",
"@reach/tabs": "^0.14.0",
"@reach/tooltip": "^0.14.0",
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "^13.0.1",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"chalk": "^4.1.0",
"codegen.macro": "^4.1.0",
"cross-env": "^7.0.3",
"cross-spawn": "^7.0.3",
"emotion-theming": "^10.0.27",
"facepaint": "^1.2.1",
"glob": "^7.1.6",
"history": "^4.10.1",
"is-ci": "^3.0.0",
"mq-polyfill": "^1.1.8",
"msw": "^0.28.1",
"node-match-path": "^0.6.2",
"normalize.css": "^8.0.1",
"raw-loader": "^4.0.2",
"react-error-boundary": "^3.1.1",
"react-icons": "^4.2.0",
"react-router-dom": "^5.2.0",
"replace-in-file": "^6.2.0"
},
"devDependencies": {
"@types/facepaint": "^1.2.1",
"@types/glob": "^7.1.3",
"@types/history": "^4.7.8",
"@types/preval.macro": "^3.0.0",
"@types/react-router-dom": "^5.1.7",
"babel-plugin-dynamic-import-node": "^2.3.3",
"concurrently": "^6.0.0",
"cssnano": "^4.1.10",
"eslint-config-react-app": "^6.0.0",
"eslint-plugin-cypress": "^2.11.2",
"identity-obj-proxy": "^3.0.0",
"kcd-scripts": "^8.1.1",
"postcss": "^8.2.9",
"postcss-cli": "^8.3.1",
"preval.macro": "^5.0.0",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"resolve": "^1.20.0",
"typescript": "^4.2.3",
"whatwg-fetch": "^3.6.2"
},
"peerDependencies": {
"react": "*",
"react-dom": "*"
},
"browserslist": [
"chrome >= 79",
"last 2 firefox versions",
"last 2 edge versions"
],
"husky": {
"hooks": {
"pre-commit": "kcd-scripts pre-commit"
}
},
"eslintConfig": {
"extends": "./node_modules/kcd-scripts/eslint.js",
"rules": {
"no-console": "off",
"max-lines-per-function": "off",
"guard-for-in": "off",
"react/display-name": "off",
"react/prop-types": "off",
"import/no-unresolved": "off",
"react/no-unknown-property": [
"error",
{
"ignore": [
"css"
]
}
],
"@typescript-eslint/sort-type-union-intersection-members": "off"
}
}
}