-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
130 lines (130 loc) · 3.35 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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
{
"name": "monitoring-react-component",
"description": "A template project for react components",
"version": "1.0.4",
"main": "dist/index.js",
"module": "dist/index.js",
"author": {
"name": "Tamás Benke",
"email": "tombenke@gmail.com"
},
"bugs": {
"url": "https://github.com/tombenke/monitoring-react-component/issues"
},
"license": "MIT",
"homepage": "./",
"files": [
"dist",
"README.md"
],
"repository": {
"type": "git",
"url": "http://github.com/tombenke/monitoring-react-component.git"
},
"engines": {
"node": ">= 9.11.1",
"npm": ">= 6.5.0"
},
"private": false,
"dependencies": {
"react": "^16.7.0",
"react-dom": "^16.7.0",
"react-scripts": "2.1.2"
},
"devDependencies": {
"@babel/core": "^7.2.2",
"@storybook/addon-actions": "^4.1.4",
"@storybook/addon-links": "^4.1.4",
"@storybook/addons": "^4.1.4",
"@storybook/react": "^4.1.4",
"babel-cli": "^6.26.0",
"babel-preset-env": "^1.7.0",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-2": "^6.24.1",
"coveralls": "^3.0.2",
"cross-env": "^5.2.0",
"husky": "^1.3.1",
"leasot": "^7.1.0",
"lint-staged": "^8.1.0",
"node-sass": "^4.11.0",
"prettier": "^1.15.3",
"redux-mock-store": "^1.5.3",
"rimraf": "^2.6.3",
"source-map-explorer": "^1.6.0"
},
"babel": {
"presets": [
"react",
"env",
"stage-2"
]
},
"husky": {
"hooks": {
"pre-commit": "npm run prettier && lint-staged"
}
},
"jest": {
"collectCoverageFrom": [
"src/**/*.{js,jsx}",
"!src/**/*/index.js",
"!src/index.js",
"!src/jest.config.js",
"!**/serviceWorker.js",
"!<rootDir>/node_modules/",
"!<rootDir>/dist/",
"!<rootDir>/build/",
"!**/*.stories.js"
],
"coverageThreshold": {
"global": {
"branches": 50,
"functions": 50,
"lines": 50,
"statements": 50
}
},
"coverageReporters": [
"text",
"lcov"
]
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx,json,css,scss,md}": [
"prettier --single-quote --write",
"git add"
]
},
"prettier": {
"printWidth": 120,
"tabWidth": 4,
"semi": false,
"singleQuote": true,
"trailingComma": "none"
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
],
"proxy": "http://localhost:3007",
"scripts": {
"analyze": "source-map-explorer build/static/js/main.*",
"build": "react-scripts build",
"coverage": "npm test -- --coverage",
"coveralls": "npm test -- --coverage && cat ./coverage/lcov.info | coveralls",
"eject": "react-scripts eject",
"prettier": "prettier --single-quote --write 'src/**/*.{js,jsx,ts,tsx,json,css,scss,md}'",
"start": "react-scripts start",
"storybook": "start-storybook -p 9009 -s public",
"build-storybook": "build-storybook -c .storybook -o ./docs/storybook",
"build-dist": "rimraf dist && NODE_ENV=production babel src/components --out-dir dist --copy-files --ignore __tests__,spec.js,test.js,__snapshots__",
"test": "react-scripts test",
"test-single": "cross-env CI=true react-scripts test --verbose --runInBand",
"todo": "leasot -x '**/*.ts' '**/*.tsx' '**/*.js' '**/*.jsx' '**.md' --ignore **/node_modules/**"
}
}