forked from dfinity/motoko-playground
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
64 lines (64 loc) · 1.64 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
{
"name": "motoko-playground",
"version": "0.1.0",
"private": true,
"dependencies": {
"@dfinity/agent": "^0.10.2",
"@dfinity/candid": "^0.10.2",
"@dfinity/principal": "^0.10.2",
"@monaco-editor/react": "^4.3.1",
"@types/node": "^12.0.0",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"@types/styled-components": "^5.1.10",
"lodash.debounce": "^4.0.8",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-markdown": "^6.0.2",
"react-modal": "^3.14.3",
"styled-components": "^5.3.0",
"typescript": "^4.1.2",
"web-vitals": "^1.0.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",
"@types/jest": "^26.0.19",
"comlink-loader": "^2.0.0",
"husky": "^7.0.1",
"lint-staged": "^11.1.2",
"prettier": "^2.3.2",
"react-scripts": "4.0.3"
},
"scripts": {
"start": "craco start",
"build": "craco build",
"test": "craco test -- --config=config/jest.config.js",
"eject": "craco eject",
"deploy": "dfx deploy --argument '(null)'",
"prestart": "dfx start --background || exit 0",
"predeploy": "npm run prestart",
"prepare": "husky install"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
],
"globals": {
"Motoko": true
}
},
"browserslist": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
],
"lint-staged": {
"src/**/*.{js,ts,jsx,tsx,json,css,scss,htm,html,md,mdx}": [
"prettier --write"
]
}
}