-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
94 lines (94 loc) · 2.49 KB
/
Copy pathpackage.json
File metadata and controls
94 lines (94 loc) · 2.49 KB
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
89
90
91
92
93
94
{
"name": "userscript-metadata-webpack-plugin",
"version": "0.4.2",
"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": "yarn@4.17.0",
"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": "trim21me@gmail.com"
},
"license": "MIT",
"devDependencies": {
"@eslint/js": "10.0.1",
"@types/node": "^25.5.2",
"@types/webpack-sources": "^3.2.0",
"@typescript-eslint/eslint-plugin": "8.62.1",
"@typescript-eslint/parser": "8.62.1",
"@typescript-eslint/utils": "8.62.1",
"eslint": "10.6.0",
"eslint-config-prettier": "10.1.8",
"eslint-plugin-erasable-syntax-only": "0.4.2",
"eslint-plugin-promise": "7.3.0",
"eslint-plugin-simple-import-sort": "13.0.0",
"eslint-plugin-tsdoc": "0.5.2",
"eslint-plugin-unicorn": "64.0.0",
"eslint-plugin-unused-imports": "4.4.1",
"husky": "^9.0.0",
"lint-staged": "^17.0.0",
"prettier": "^3.0.0",
"rimraf": "^6.0.1",
"rollup": "^4.0.0",
"rollup-plugin-node-externals": "^8.0.0",
"rollup-plugin-typescript2": "^0.37.0",
"typescript": "^6.0.0",
"typescript-eslint": "8.62.1",
"webpack": "^5.27.0",
"webpack-cli": "^7.0.0"
},
"dependencies": {
"userscript-metadata-generator": "^0.2.3"
},
"peerDependencies": {
"webpack": "^5.0.0"
}
}