-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
45 lines (45 loc) · 1.1 KB
/
package.json
File metadata and controls
45 lines (45 loc) · 1.1 KB
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
{
"name": "react-assignments",
"version": "1.0.0",
"description": "Just some minor assignments regarding to React",
"main": "index.js",
"author": "Hao Tran",
"license": "MIT",
"private": false,
"scripts": {
"build": "tsc",
"test": "jest",
"test:watch": "jest --watchAll",
"rm:file": "rimraf assignment.zip",
"gen:test": "npm run rm:file && zip -r assignment.zip . -x \\*node_modules\\* -x \\*.git\\* --exclude '*index-answer.tsx'"
},
"dependencies": {
"@types/react": "^16.8.23",
"react": "^16.8.6",
"react-dom": "^16.8.6"
},
"devDependencies": {
"@babel/core": "^7.5.5",
"@babel/preset-env": "^7.5.5",
"@babel/preset-react": "^7.0.0",
"@types/jest": "^24.0.16",
"babel-jest": "^24.8.0",
"jest": "^24.8.0",
"ts-jest": "^24.0.2",
"typescript": "^3.5.3"
},
"jest": {
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json"
],
"transform": {
"^.+\\.(ts|tsx)$": "ts-jest",
"^.+\\.jsx?$": "babel-jest"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(tsx?)?$"
}
}