-
-
Notifications
You must be signed in to change notification settings - Fork 54
/
Copy pathpackage.json
112 lines (112 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
{
"name": "hacker-tab-extension",
"version": "0.0.0",
"description": "Browser extension for hackers",
"license": "MIT",
"keywords": [
"react",
"github",
"browser extension",
"chrome extension"
],
"main": "src/index.js",
"dependencies": {
"@emotion/core": "^10.0.28",
"@emotion/styled": "^10.0.27",
"@huchenme/github-trending": "^2.4.2",
"append-query": "^2.1.0",
"axios": "^0.19.2",
"date-fns": "^2.14.0",
"emotion-theming": "^10.0.27",
"framer-motion": "^1.11.1",
"husky": "^4.2.5",
"lint-staged": "^10.2.11",
"lodash": "^4.17.15",
"polished": "^3.6.5",
"prop-types": "^15.7.2",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-query": "^2.4.13",
"react-scripts": "^3.4.1",
"react-select": "^3.1.0",
"react-spring": "^8.0.27",
"react-use": "^15.3.2"
},
"devDependencies": {
"@babel/core": "^7.10.4",
"@storybook/addon-actions": "^5.3.19",
"@storybook/addon-centered": "^5.3.19",
"@storybook/addon-links": "^5.3.19",
"@storybook/addon-notes": "^5.3.19",
"@storybook/addons": "^5.3.19",
"@storybook/react": "^5.3.19",
"@testing-library/cypress": "^6.0.0",
"@testing-library/jest-dom": "^5.11.0",
"@testing-library/react": "^10.4.3",
"cypress": "^4.9.0",
"eslint-config-cypress": "^0.28.0",
"is-ci-cli": "^2.1.2",
"jest-environment-jsdom-sixteen": "^1.0.3",
"jest-when": "^2.7.2",
"npm-run-all": "^4.1.5",
"prettier": "^2.0.5",
"react-query-devtools": "^2.2.1",
"rimraf": "^3.0.2",
"start-server-and-test": "^1.11.0",
"webpack-cli": "^3.3.12"
},
"scripts": {
"start": "react-scripts start",
"start:nobrowser": "BROWSER=none react-scripts start",
"storybook": "start-storybook -p 6006",
"test": "is-ci test:coverage test:local",
"test:local": "react-scripts test --env=jest-environment-jsdom-sixteen",
"test:coverage": "react-scripts test --coverage",
"test:e2e": "is-ci test:e2e:run test:e2e:open",
"test:e2e:run": "start-test start:nobrowser 3000 cy:run",
"test:e2e:open": "start-test start:nobrowser 3000 cy:open",
"cy:run": "cypress run",
"cy:open": "cypress open",
"prebuild": "rimraf build",
"build": "npm-run-all build:*",
"build:app": "INLINE_RUNTIME_CHUNK=false react-scripts build",
"build:bg": "webpack --mode production ./src/background/index.js --output ./build/background.js",
"build:bg:dev": "webpack --mode development ./src/background/index.js --output ./build/background.js",
"prezip": "rimraf *.zip",
"zip": "npm-run-all zip:*",
"zip:build": "cd build; zip -r ../build.zip * -x '*.DS_Store'",
"zip:src": "zip -r src.zip src package.json README.md public -x '*.DS_Store'",
"prebuild-storybook": "rimraf storybook-static",
"build-storybook": "build-storybook",
"release": "npm-run-all build zip"
},
"eslintConfig": {
"extends": "react-app",
"env": {
"browser": true,
"webextensions": true
},
"rules": {
"no-use-before-define": "off"
}
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
],
"prettier": {
"singleQuote": true
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx,json,css,scss,md}": [
"prettier --write"
]
}
}