-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
79 lines (79 loc) · 2.75 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
{
"name": "#REPLACE:packagename",
"userscriptName": "#REPLACE:Userscript Name",
"version": "1.0.0",
"description": "#REPLACE:Userscript Description",
"main": "index.js",
"type": "module",
"scripts": {
"dev": "concurrently \"nodemon --exec npm run --silent build-watch\" \"npm run --silent serve\"",
"serve": "npm run node-ts -- ./src/tools/serve.ts",
"lint": "tsc --noEmit && eslint .",
"build": "rollup -c",
"build-watch": "rollup -c --config-mode development --config-host github --config-branch main --config-assetSource=local",
"build-develop": "rollup -c --config-mode development --config-host github --config-branch main",
"build-prod": "npm run build-prod-gh && npm run build-prod-gf && npm run build-prod-oujs",
"build-prod-base": "rollup -c --config-mode production --config-branch main",
"build-prod-gh": "npm run build-prod-base -- --config-host github",
"build-prod-gf": "npm run build-prod-base -- --config-host greasyfork --config-suffix _gf",
"build-prod-oujs": "npm run build-prod-base -- --config-host openuserjs --config-suffix _oujs",
"post-build": "npm run node-ts -- ./src/tools/post-build.ts",
"node-ts": "node --no-warnings=ExperimentalWarning --enable-source-maps --loader ts-node/esm",
"invisible": "node --enable-source-maps src/tools/run-invisible.mjs",
"test": "npm run node-ts -- ./test.ts"
},
"repository": {
"type": "git",
"url": "git+https://github.com/#REPLACE:User/Repo.git"
},
"author": {
"name": "#REPLACE:Author name",
"url": "#REPLACE:Author URL"
},
"license": "WTFPL",
"bugs": {
"url": "https://github.com/#REPLACE:User/Repo/issues"
},
"homepage": "https://github.com/#REPLACE:User/Repo#readme",
"devDependencies": {
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^11.1.6",
"@types/express": "^4.17.21",
"@types/greasemonkey": "^4.0.7",
"@types/node": "^20.12.7",
"@typescript-eslint/eslint-plugin": "^7.6.0",
"@typescript-eslint/parser": "^7.6.0",
"concurrently": "^8.2.2",
"dotenv": "^16.4.5",
"eslint": "^8.57.0",
"express": "^4.19.2",
"nodemon": "^3.1.0",
"rollup": "^4.14.2",
"rollup-plugin-execute": "^1.1.1",
"rollup-plugin-html": "^0.2.1",
"rollup-plugin-import-css": "^3.5.0",
"ts-node": "^10.9.2",
"tslib": "^2.6.2",
"typescript": "^5.4.5"
},
"dependencies": {
"@sv443-network/userutils": "^6.3.0"
},
"nodemonConfig": {
"watch": [
"src/**",
"assets/**",
"rollup.config.mjs",
".env",
"**/*.md",
"package.json"
],
"ext": "ts,mts,js,jsx,mjs,json,html,css,svg,png",
"ignore": [
"dist/*",
"dev/*"
]
}
}