-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
66 lines (66 loc) · 1.8 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
{
"name": "parcel-tsx-boilerplate",
"version": "1.0.0",
"scripts": {
"start": "parcel serve ./public/index.html --port 3000 --open --target modern",
"build:watch": "parcel watch ./public/index.html --target modern",
"build": "yarn build:legacy && yarn build:modern",
"build:legacy": "parcel build ./public/index.html --target legacy",
"build:modern": "parcel build ./public/index.html --target modern",
"test": "jest"
},
"license": "MIT",
"legacy": "./dist/legacy/index.html",
"modern": "./dist/modern/index.html",
"source": [
"src/*"
],
"targets": {
"legacy": {
"engines": {
"browsers": "> 0.5%, last 2 versions, not dead"
},
"distDir": "./dist/legacy"
},
"modern": {
"engines": {
"browsers": "Chrome 80"
},
"distDir": "./dist/modern"
}
},
"alias": {
"@/pages": "./src/pages",
"@/components": "./src/components",
"@/hooks": "./src/hooks"
},
"dependencies": {
"react": "^17.0.2",
"react-dom": "^17.0.2",
"typescript": "^4.6.2"
},
"devDependencies": {
"@babel/core": "^7.17.5",
"@babel/preset-env": "^7.16.11",
"@babel/preset-react": "^7.16.7",
"@babel/preset-typescript": "^7.16.7",
"@jest/core": "^27.5.1",
"@parcel/config-default": "^2.3.2",
"@parcel/packager-raw-url": "^2.3.2",
"@parcel/transformer-webmanifest": "^2.3.2",
"@testing-library/react": "^12.1.4",
"@testing-library/react-hooks": "^7.0.2",
"@types/jest": "^27.4.1",
"@types/node": "^17.0.21",
"@types/react": "^17.0.40",
"@types/react-dom": "^17.0.13",
"identity-obj-proxy": "^3.0.0",
"jest": "^27.5.1",
"parcel": "^2.3.2",
"prettier": "^2.5.1",
"pretty-quick": "^3.1.3",
"rimraf": "^3.0.2",
"ts-jest": "^27.1.3",
"ts-node": "^10.7.0"
}
}