forked from kiwipower/react-offline-test
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
84 lines (84 loc) · 2.7 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
{
"private": true,
"scripts": {
"lint:fix": "eslint --fix './src/**/{*.js,*.ts?(x)}'",
"prettier": "prettier --write 'src/{*.js,*.ts?(x)}'",
"test": "npm-run-all --parallel test:unit test:cypress",
"test:unit": "jest \"./src/.*\\.test.js\"",
"test:unit:watch": "jest --watch \"./src/.*\\.test.js\"",
"test:cypress:open": "cypress open",
"test:cypress:serve": "NODE_ENV=test webpack-dev-server > /dev/null",
"test:cypress:run": "wait-port --timeout 10000 localhost:8888 && cypress run",
"test:cypress": "npm-run-all --silent --parallel --race test:cypress:serve test:cypress:run",
"test:cypress:dev": "npm-run-all --silent --parallel --race test:cypress:serve test:cypress:open",
"start": "webpack-dev-server --hot --progress --colors"
},
"dependencies": {
"@emotion/core": "^10.0.21",
"@emotion/styled": "^10.0.17",
"axios": "^0.19.0",
"bootstrap": "^4.3.1",
"emotion-theming": "^10.0.19",
"moment": "^2.24.0",
"normalize.css": "^8.0.1",
"react": "^16.9.0",
"react-dom": "^16.9.0",
"styled-system": "^5.1.2"
},
"devDependencies": {
"@babel/core": "^7.5.5",
"@babel/helpers": "^7.5.5",
"@babel/plugin-transform-runtime": "^7.5.5",
"@babel/preset-env": "^7.5.5",
"@babel/preset-react": "^7.0.0",
"@babel/preset-typescript": "^7.6.0",
"@babel/runtime": "^7.5.5",
"@testing-library/cypress": "^5.0.2",
"@testing-library/react": "^9.3.0",
"@types/jest": "^24.0.18",
"@types/react": "^16.9.9",
"@typescript-eslint/eslint-plugin": "^2.4.0",
"@typescript-eslint/parser": "^2.4.0",
"babel-jest": "^24.9.0",
"babel-loader": "^8.0.6",
"css-loader": "^3.2.0",
"cypress": "^3.4.1",
"enzyme": "^3.10.0",
"eslint": "^6.5.1",
"eslint-config-prettier": "^6.4.0",
"eslint-config-react": "^1.1.7",
"eslint-plugin-prettier": "^3.1.1",
"eslint-plugin-react": "^7.16.0",
"html-webpack-plugin": "^3.2.0",
"jest": "^24.8.0",
"jest-transform-stub": "^2.0.0",
"mini-css-extract-plugin": "^0.8.0",
"npm-run-all": "^4.1.5",
"prettier": "^1.18.2",
"prop-types": "^15.7.2",
"react-test-renderer": "^16.10.2",
"serve": "^11.2.0",
"ts-jest": "^24.0.2",
"typescript": "^3.6.2",
"wait-port": "^0.2.6",
"webpack": "^4.39.1",
"webpack-cli": "^3.3.6",
"webpack-dev-server": "^3.8.0"
},
"jest": {
"testRegex": "\\.(test|spec)\\.(j|t)sx?$",
"transform": {
"^.+\\.jsx?$": "babel-jest",
"^.+\\.tsx?$": "ts-jest"
},
"moduleNameMapper": {
"^.+.(css|styl|less|sass|scss|png|jpg|ttf|woff|woff2)$": "jest-transform-stub"
},
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx"
]
}
}