-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
88 lines (88 loc) · 2.28 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
84
85
86
87
88
{
"name": "userscript-metadata-webpack-plugin",
"version": "0.4.0",
"description": "A webpack plugin to generate userscript metadata and prepend to js",
"types": "./dist/esm/index.d.ts",
"main": "./dist/cjs/index.cjs",
"module": "./dist/esm/index.mjs",
"files": [
"./dist/",
"./src/",
"package.json"
],
"exports": {
".": {
"types": "./dist/esm/index.d.ts",
"require": "./dist/cjs/index.cjs",
"default": "./dist/esm/index.mjs"
},
"./package.json": "./package.json"
},
"prettier": {
"printWidth": 120,
"useTabs": false,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "all",
"endOfLine": "lf",
"semi": true
},
"packageManager": "[email protected]",
"scripts": {
"format": "prettier --list-different -w ./",
"prepublishOnly": "npm run build",
"prebuild": "rimraf dist",
"build": "rollup -c",
"test": "yarn build && webpack -c example/webpack.config.prod.js",
"prepare": "husky install",
"lint": "eslint --ext ts ./",
"lint-staged": "lint-staged"
},
"lint-staged": {
"*.{cjs,mjs,js,jsx,ts,tsx,json,yml,yaml}": [
"prettier --ignore-path ./.prettierignore --write "
]
},
"repository": {
"url": "https://github.com/Trim21/userscript-metadata-webpack-plugin",
"type": "git"
},
"keywords": [
"webpack",
"userscript",
"plugin",
"metadata"
],
"author": {
"name": "Trim21",
"email": "[email protected]"
},
"license": "MIT",
"devDependencies": {
"@types/webpack-sources": "^3.2.0",
"@typescript-eslint/eslint-plugin": "^7.0.0",
"@typescript-eslint/parser": "^7.0.0",
"eslint": "8.57.1",
"eslint-config-standard": "^17.0.0",
"eslint-config-standard-with-typescript": "^43.0.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jest": "^28.0.0",
"eslint-plugin-n": "^17.0.0",
"eslint-plugin-promise": "^7.0.0",
"husky": "^9.0.0",
"lint-staged": "^15.0.0",
"prettier": "^3.0.0",
"rollup": "^4.0.0",
"rollup-plugin-node-externals": "^7.0.0",
"rollup-plugin-typescript2": "^0.36.0",
"typescript": "^5.0.4",
"webpack": "^5.27.0",
"webpack-cli": "^5.0.2"
},
"dependencies": {
"userscript-metadata-generator": "^0.2.3"
},
"peerDependencies": {
"webpack": "^5.0.0"
}
}