-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
83 lines (83 loc) · 2.51 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
{
"name": "netflix-chrome-extension",
"version": "2.0.0",
"private": true,
"dependencies": {
"@craco/craco": "^6.4.3",
"@reduxjs/toolkit": "^1.8.2",
"@testing-library/jest-dom": "^5.16.1",
"@testing-library/react": "^12.1.2",
"@testing-library/user-event": "^13.5.0",
"@types/jest": "^27.4.0",
"@types/node": "^16.11.21",
"@types/react": "^17.0.38",
"@types/react-dom": "^17.0.11",
"@types/react-redux": "^7.1.24",
"dotenv": "^16.0.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-redux": "^8.0.2",
"react-scripts": "5.0.0",
"sass": "^1.54.4",
"ts-node": "^10.5.0",
"typescript": "^4.5.5",
"web-vitals": "^2.1.4"
},
"scripts": {
"deleteignore": "rm -rf build/ignore-this/",
"clean": "rm -rf build/*",
"premanifest-dev": "npm run clean",
"manifest-dev": "NODE_ENV=development ts-node --skip-project src/services/createManifestJson",
"manifest-prod": "NODE_ENV=production ts-node --skip-project src/services/createManifestJson",
"postmanifest-prod": "npm run deleteignore",
"prestart": "npm run manifest-dev",
"start": "craco start",
"prebuild": "npm run clean",
"build": "craco build",
"postbuild": "npm run manifest-prod",
"test": "craco test",
"eject": "craco eject"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"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/react-hooks": "^7.0.2",
"@types/chrome": "^0.0.177",
"copy-webpack-plugin": "^10.2.1",
"jest-chrome": "^0.7.2",
"jest-location-mock": "^1.0.9"
},
"jest": {
"moduleNameMapper": {
"@app(.*)$": "<rootDir>/src/$1",
"@assets(.*)$": "<rootDir>/src/assets/$1",
"@components(.*)$": "<rootDir>/src/components/$1",
"@constants(.*)$": "<rootDir>/src/constants/$1",
"@hooks(.*)$": "<rootDir>/src/hooks/$1",
"@services(.*)$": "<rootDir>/src/services/$1",
"@types(.*)$": "<rootDir>/src/types/$1",
"@utils(.*)$": "<rootDir>/src/utils/$1",
"@background(.*)$": "<rootDir>/src/background/$1",
"@content-scripts(.*)$": "<rootDir>/src/content-scripts/$1",
"@inject-script(.*)$": "<rootDir>/src/inject-script/$1",
"@options(.*)$": "<rootDir>/src/options/$1",
"@popup(.*)$": "<rootDir>/src/popup/$1"
}
}
}