forked from dfinity/cancan
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
87 lines (87 loc) · 2.39 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
{
"name": "cancan",
"version": "0.0.1",
"description": "A scalable video-sharing service.",
"private": true,
"repository": "git://github.com/dfinity/cancan.git",
"engines": {
"node": ">=12.8.3",
"npm": ">=6.0.0"
},
"scripts": {
"start:dfx": "dfx start --background || exit 0",
"start": "npm run start:dfx; craco start",
"deploy": "npm run start:dfx; dfx deploy",
"build": "craco build",
"test": "craco test -- --config=src/config/jest.config.js",
"test:e2e": "cd e2e && cypress open",
"test:e2e:ci": "cd e2e && cypress run",
"seed": "npx ts-node -O '{\"module\": \"CommonJS\"}' scripts/seed.ts",
"ultraseed": "for i in {2..5}; do npm run seed -- $i; done",
"prepare": "husky install"
},
"dependencies": {
"@dfinity/agent": "^0.8.9",
"@dfinity/auth-client": "^0.8.9",
"@dfinity/authentication": "^0.8.9",
"@dfinity/identity": "^0.8.9",
"lodash.debounce": "^4.0.8",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-lottie-player": "^1.3.1",
"react-router-dom": "^5.2.0",
"react-transition-group": "^4.4.1",
"simple-cbor": "0.4.1"
},
"devDependencies": {
"@craco/craco": "^6.0.0",
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^11.1.0",
"@testing-library/user-event": "^12.1.10",
"@trust/webcrypto": "^0.9.2",
"@types/jest": "^26.0.19",
"@types/node": "^12.0.0",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"@types/react-router-dom": "^5.1.7",
"cypress": "^6.8.0",
"husky": "^6.0.0",
"lint-staged": "^10.5.4",
"lodash.debounce": "^4.0.8",
"node-fetch": "^2.6.1",
"node-sass": "^5.0.0",
"node-webcrypto-ossl": "^2.1.2",
"prettier": "^2.2.1",
"react-scripts": "^4.0.3",
"style-loader": "^1.3.0",
"terser-webpack-plugin": "^4.2.3",
"typescript": "^4.2.2"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
],
"rules": {
"react-hooks/exhaustive-deps": 0
}
},
"browserslist": {
"production": [
"last 2 chrome version",
"last 2 firefox version",
"last 2 safari version",
"last 2 edge version"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"lint-staged": {
"src/**/*.{ts,tsx,js,jsx,json,css,scss,md}": [
"prettier --write"
]
}
}