-
-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.json
110 lines (110 loc) · 3.08 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
{
"name": "userscripter",
"version": "5.0.0",
"description": "Create userscripts in a breeze!",
"keywords": [
"userscript",
"user script",
"browser",
"extension"
],
"author": {
"name": "Simon Alling",
"email": "[email protected]",
"url": "https://simonalling.se"
},
"license": "MIT",
"homepage": "https://github.com/simonalling/userscripter",
"repository": {
"type": "git",
"url": "https://github.com/simonalling/userscripter"
},
"bugs": {
"url": "https://github.com/simonalling/userscripter/issues"
},
"main": "run-time/index",
"exports": {
".": {
"import": "./run-time/index.mjs",
"require": "./run-time/index.js"
},
"./build-time": {
"import": "./build-time/index.mjs",
"require": "./build-time/index.js"
},
"./run-time/*": {
"import": "./run-time/*.mjs",
"require": "./run-time/*.js"
}
},
"typesVersions": {
"*": {
"build-time": [
"./build-time/index.d.ts"
],
"run-time/*": [
"./run-time/*.d.ts"
],
"*": [
"This prevents imports of internal modules from compiling in TypeScript."
]
}
},
"files": [
"build-time/*",
"run-time/*"
],
"scripts": {
"build-cjs": "npm run clean && npm run compile-cjs",
"build-esm": "npm run clean && npm run compile-esm",
"compile-cjs": "tsc -d --module CommonJS -p .",
"compile-esm": "tsc -d -p .",
"build": "npm run clean && npm run compile-esm && npm run rename && npm run compile-cjs",
"clean": "rimraf run-time build-time",
"lint": "eslint . --ext .ts",
"prepublishOnly": "npm run verify && cli-confirm 'Publish?'",
"rename": "renamer --force --find \"/\\.js$/\" --replace \".mjs\" \"run-time/**\" \"build-time/**\"",
"test": "npm run lint && npm run jest",
"jest": "jest --config ./jest.config.mjs",
"verify": "npm ci && repository-check-dirty && npm run build && npm test && npm pack"
},
"sideEffects": false,
"devDependencies": {
"@types/jest": "29.5.12",
"@types/terser-webpack-plugin": "2.2.0",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"cli-confirm": "^1.0.1",
"eslint": "^7.25.0",
"eslint-plugin-import": "^2.22.1",
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
"renamer": "^1.1.4",
"repository-check-dirty": "^1.0.2",
"rimraf": "5.0.7",
"ts-jest": "29.2.3",
"ts-preferences": "^2.0.0",
"typescript": "4.5.5"
},
"peerDependencies": {
"ts-preferences": "^2.0.0"
},
"dependencies": {
"@types/sass": "^1.16.0",
"@types/webpack": "^4.41.38",
"css-loader": "^3.2.0",
"lines-unlines": "^1.0.0",
"node-sass-utils": "^1.1.3",
"raw-loader": "^4.0.0",
"sass": "^1.32.8",
"sass-loader": "10.1.1",
"terser-webpack-plugin": "^2.3.1",
"to-string-loader": "^1.1.6",
"ts-loader": "^8.4.0",
"ts-type-guards": "^0.6.1",
"tsconfig-paths-webpack-plugin": "^3.2.0",
"userscript-metadata": "^1.0.0",
"webextension-manifest": "^1.0.0",
"webpack": "^4.47.0"
}
}