-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
60 lines (60 loc) · 1.71 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
{
"name": "userscript-typescript-template",
"version": "2.0.2",
"description": "Template repo using Webpack and TypeScript to build your userscript for Tampermonkey and more extensions.",
"main": "userscript/index.user.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build": "webpack --config webpack/prod.ts",
"dev": "webpack --config webpack/dev.ts",
"build:watch": "webpack --watch"
},
"repository": {
"type": "git",
"url": "git+https://github.com/pboymt/userscript-typescript-template.git"
},
"keywords": [],
"author": "pboymt",
"license": "MIT",
"bugs": {
"url": "https://github.com/pboymt/userscript-typescript-template/issues"
},
"homepage": "https://github.com/pboymt/userscript-typescript-template#readme",
"devDependencies": {
"@types/node": "^18.15.11",
"@types/prettier": "^2.7.0",
"@types/tampermonkey": "^4.0.5",
"@types/webpack": "^5.28.0",
"prettier": "^2.7.1",
"terser-webpack-plugin": "^5.3.6",
"ts-loader": "^9.2.6",
"ts-node": "^10.4.0",
"typescript": "^5.0.4",
"webpack": "^5.64.3",
"webpack-cli": "^5.0.1",
"webpack-merge": "^5.8.0"
},
"userscript": {
"require-template": "https://cdn.jsdelivr.net/npm/${dependencyName}@${dependencyVersion}",
"namespace": "http://tampermonkey.net/",
"license": "https://opensource.org/licenses/MIT",
"match": [
"https://github.com/*",
"https://www.baidu.com/*"
],
"connect": [
"github.com"
],
"require": [],
"grant": [
"GM.xmlHttpRequest"
],
"exclude": [],
"resources": [],
"keyedResources": {}
},
"dependencies": {
"@trim21/gm-fetch": "^0.1.13",
"axios": "^1.3.6"
}
}