-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
72 lines (72 loc) · 1.74 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
{
"name": "tweet-current-page",
"version": "0.1.0",
"private": true,
"scripts": {
"build": "NODENV=production webpack",
"watch": "webpack --watch",
"test": "jest",
"prettier": "prettier 'src/**/*.{js,jsx,ts,tsx}'",
"eslint": "eslint ./src --ext .js,.jsx,.ts,.tsx",
"lint": "yarn prettier --check && yarn eslint --fix-dry-run",
"lint:fix": "yarn prettier --write && yarn eslint --fix",
"prepare": "husky install"
},
"eslintConfig": {
"env": {
"webextensions": true,
"browser": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"prettier"
],
"ignorePatterns": [
"webpack.config.js",
"node_modules"
]
},
"dependencies": {
"typescript": "^4.5.2"
},
"devDependencies": {
"@types/chrome": "^0.0.228",
"@types/copy-webpack-plugin": "^10.1.0",
"@types/jest": "^28.1.7",
"@types/node": "^18.15.11",
"@types/webpack": "^5.28.0",
"@typescript-eslint/eslint-plugin": "^5.57.1",
"@typescript-eslint/parser": "^5.57.1",
"copy-webpack-plugin": "^11.0.0",
"eslint": "^8.37.0",
"eslint-config-prettier": "^8.6.0",
"husky": "^8.0.3",
"jest": "^28.1.3",
"lint-staged": "^13.2.1",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.7",
"ts-jest": "^28.0.8",
"ts-loader": "^9.4.2",
"webpack": "^5.76.2",
"webpack-cli": "^5.0.1"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"./**/*.{js,jsx,ts,tsx}": [
"yarn lint:fix"
]
},
"prettier": {
"semi": false,
"singleQuote": false,
"tabWidth": 2,
"trailingComma": "none"
},
"license": "MIT"
}