-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
104 lines (104 loc) · 2.9 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
{
"name": "web",
"version": "0.1.0",
"private": true,
"dependencies": {
"axios": "^0.19.2",
"bitcoinjs-lib": "^5.1.10",
"bitsharesjs": "^3.1.1",
"bitsharesjs-ws": "^3.1.1",
"crypto-random-string": "^3.2.0",
"inquirer": "^7.3.1",
"react": "^16.13.1",
"react-dom": "^16.13.1"
},
"scripts": {
"build:cli": "./node_modules/.bin/tsc -p ./tsconfig.cli.json --pretty",
"build:css": "tailwind build src/tailwind.src.css -c src/tailwind.config.js -o src/tailwind.css",
"build:docs": "./node_modules/.bin/typedoc && npm run build --prefix ./docs/",
"build:web": "NODE_ENV=production npm run build:css && react-scripts build",
"cli": "npm run build:cli && node ./build/cli/index.js",
"dev": "npm run build:css && react-scripts start",
"eject": "react-scripts eject",
"lint": "./node_modules/.bin/eslint --fix --ext ./**/*.ts",
"fmt": "npm run lint && npm run prettier",
"prettier": "./node_modules/.bin/prettier --write ./**/*.{js,ts,json} --loglevel warn",
"test": "CI=true react-scripts test --coverage --color"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@testing-library/jest-dom": "^5.11.0",
"@testing-library/react": "^10.4.3",
"@testing-library/user-event": "^12.0.11",
"@types/axios": "^0.14.0",
"@types/figlet": "^1.2.0",
"@types/inquirer": "^6.5.0",
"@types/jest": "^26.0.3",
"@types/node": "^14.0.14",
"@types/react": "^16.9.41",
"@types/react-dom": "^16.9.8",
"@types/react-responsive": "^8.0.2",
"@types/react-router-dom": "^5.1.5",
"@types/react-test-renderer": "^16.9.2",
"eslint": "^6.6.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-jest": "^23.18.0",
"eslint-plugin-jsdoc": "^29.1.4",
"eslint-plugin-prettier": "^3.1.4",
"figlet": "^1.4.0",
"husky": "^4.2.5",
"lint-staged": "^10.2.11",
"postcss-cli": "^7.1.1",
"prettier": "^2.0.5",
"purgecss": "^2.3.0",
"react-router-dom": "^5.2.0",
"react-scripts": "^3.4.1",
"react-test-renderer": "^16.13.1",
"standard": "^14.3.4",
"tailwindcss": "^1.4.6",
"ts-jest": "^26.1.1",
"typedoc": "^0.17.8",
"typedoc-plugin-markdown": "^2.3.1",
"typescript": "^3.9.5"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && npm test"
}
},
"lint-staged": {
"**/*.{json,md, yml}": [
"npm run fmt"
],
"**/*.{ts,tsx,js}": [
"npm run fmt"
]
},
"jest": {
"collectCoverageFrom": [
"src/**/*.{ts,tsx}",
"!**/*.d.ts",
"!src/cli/*.ts",
"!**/witnessStack.ts",
"!**/index.{ts,tsx}",
"!**/accs.ts",
"!**/types/*"
],
"coverageThreshold": {
"global": {
"lines": 65
}
}
}
}