-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
70 lines (70 loc) · 2.09 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
{
"name": "rollup-plugin-monkey",
"version": "1.0.9",
"description": "rollup plugin for GM_Script",
"author": "wdssmq <wdssmq@qq.com>",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/wdssmq/rollup-plugin-monkey"
},
"bugs": {
"url": "https://github.com/wdssmq/rollup-plugin-monkey/issues"
},
"homepage": "https://github.com/wdssmq/rollup-plugin-monkey#readme",
"main": "dist/index.mjs",
"exports": {
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
},
"type": "module",
"keywords": [
"rollup",
"rollup-plugin",
"GM_Script",
"Tampermonkey",
"Violentmonkey",
"Greasemonkey",
"UserScripts",
"UserScript"
],
"imports": {
"#monkey": "./dist/index.mjs",
"#pinoPretty": "./dist/_pino-pretty.js",
"#dev": "./dist/_dev.js"
},
"scripts": {
"build": "rollup -c",
"dev": "rollup -c -w",
"prepare": "npm run build",
"prepublish": "npm run build",
"test:spa": "npm run build && cd test/spa && rollup -w -c",
"test:gm": "npm run build && cd test/gm && cross-env NODE_ENV=dev rollup -w -c",
"lint": "eslint --ignore-path .gitignore --ext .js,.mjs .",
"ncu:gm": "cd test/gm && ncu -u && git diff-index --quiet HEAD || (git add . && git commit -m 'up. pkg.deps of test/gm' --no-verify)",
"up:minor": "npm version minor -m 'up. pkg version minor' && git tag -n",
"up:patch": "npm version patch -m 'up. pkg version patch' && git tag -n",
"git:pub": "npm run up:patch && npm run ncu:gm",
"git:push": "git push --follow-tags"
},
"dependencies": {
"@fastify/cors": "^8.3.0",
"@fastify/static": "^6.10.2",
"@fastify/websocket": "^7.2.0",
"bufferutil": "^4.0.7",
"chokidar": "^3.5.3",
"fastify": "^4.22.0",
"fastify-plugin": "^4.5.1",
"femtocolor": "^2.0.3",
"livereload-js": "^3.4.1",
"pino-pretty": "^9.4.1",
"utf-8-validate": "^6.0.3"
},
"devDependencies": {
"@rollup/plugin-replace": "^5.0.2",
"cross-env": "^7.0.3",
"eslint": "^8.48.0",
"npm-check-updates": "^16.13.2",
"rollup": "^2.79.1"
}
}