forked from Consensys/permissioning-smart-contracts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
113 lines (113 loc) · 3.33 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
{
"name": "permissioning-smart-contracts",
"repository": "permissioning-smart-contracts",
"license": "Apache-2.0",
"private": true,
"scripts": {
"lint:contracts": "yarn solium -d contracts",
"lint:app": "yarn prettier --check \"src/**/*.{js,jsx,ts,tsx,json,css}\"",
"lint:app:write": "yarn prettier --write \"src/**/*.{js,jsx,ts,tsx,json,css}\"",
"lint": "yarn run lint:contracts && yarn run lint:app",
"test:app": "yarn react-scripts test --env=jsdom --watchAll=false",
"test:app:watch": "yarn react-scripts test --env=jsdom",
"test:app:ci": "yarn react-scripts test --reporters=default --reporters=jest-junit",
"test:contracts": "yarn truffle test --network develop",
"test": "yarn run test:contracts && yarn run test:app",
"coverage:contracts": "yarn truffle run coverage",
"coverage": "yarn run coverage:contracts",
"build:app": "sh scripts/wrap_env.sh 'yarn react-scripts build'",
"build:contracts": "yarn truffle compile && yarn typechain --target ethers --outDir ./src/chain/@types 'src/chain/abis/*.json'",
"build": "yarn run build:contracts && yarn run build:app",
"start": "sh scripts/wrap_env.sh 'yarn react-scripts start'",
"eject": "yarn react-scripts eject"
},
"eslintConfig": {
"extends": [
"react-app",
"plugin:prettier/recommended"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"dependencies": {
"@types/classnames": "^2.2.8",
"@types/enzyme": "^3.9.3",
"@types/enzyme-adapter-react-16": "^1.0.5",
"@types/jest": "^24.0.13",
"@types/node": "^12.0.4",
"@types/react": "^16.8.19",
"@types/react-dom": "^16.8.4",
"@types/styled-components": "^4.1.15",
"classnames": "^2.2.6",
"dotenv": "^7.0.0",
"ethers": "^4.0.32",
"idx": "^2.5.6",
"jest-junit": "^6.4.0",
"left-pad": "^1.3.0",
"node-sass": "^4.12.0",
"pad-ipv6": "^1.0.2",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-router-dom": "^5.0.0",
"react-scripts": "3.0.1",
"rimble-ui": "^0.8.0",
"styled-components": "^4.2.0",
"truffle-hdwallet-provider": "^1.0.17",
"typescript": "^3.5.1",
"web3": "1.2.5",
"web3-utils": "^1.0.0-beta.52"
},
"devDependencies": {
"enzyme": "^3.9.0",
"enzyme-adapter-react-16": "^1.13.1",
"enzyme-to-json": "^3.3.5",
"eslint-config-prettier": "^6.0.0",
"eslint-plugin-prettier": "^3.1.0",
"husky": "^2.2.0",
"istanbul": "^0.4.5",
"lint-staged": "^8.1.6",
"mocha-junit-reporter": "^1.21.0",
"mocha-multi-reporters": "^1.1.7",
"prettier": "1.18.2",
"solidity-coverage": "^0.7.1",
"solium": "^1.2.4",
"truffle": "5.0.17",
"truffle-typings": "^1.0.8",
"ts-jest": "^24.0.2",
"typechain": "^0.3.17"
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx,json,css}": [
"prettier --write",
"git add"
]
},
"prettier": {
"useTabs": false,
"tabWidth": 2,
"singleQuote": true,
"printWidth": 120
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"jest": {
"collectCoverageFrom": [
"src/**/*.{js,jsx,ts,tsx}",
"!**/src/index.tsx",
"!**/src/serviceWorker.ts"
]
}
}