-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
82 lines (82 loc) · 2.42 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
{
"name": "@chocolateboy/uncommonjs",
"version": "3.2.1",
"description": "A minimum viable shim for module.exports",
"author": "chocolateboy",
"repository": "/~https://github.com/chocolateboy/uncommonjs",
"license": "MIT",
"main": "dist/index.js",
"module": "dist/index.esm.js",
"jsdelivr": "dist/polyfill.iife.min.js",
"unpkg": "dist/polyfill.iife.min.js",
"types": "dist/index.d.ts",
"scripts": {
"build": "rollup --no-treeshake -c --exports auto",
"build:doc": "toc-md README.md",
"build:release": "run-s clean build build:types build:doc",
"build:types": "run-s build:types:run build:types:copy build:types:clean",
"build:types:clean": "shx rm -rf ./dist/types",
"build:types:copy": "node ./resources/copy-dts.js",
"build:types:run": "tsc --declaration",
"clean": "shx rm -rf dist",
"prepublishOnly": "run-s build:release test:run",
"rebuild": "run-s clean build",
"test": "run-s build test:run",
"test:run": "ava --verbose \"test/*.js\""
},
"exports": {
".": {
"require": "./dist/index.js",
"import": "./dist/index.esm.js"
},
"./polyfill": {
"default": "./dist/polyfill.iife.js",
"import": "./dist/polyfill.esm.js"
},
"./": "./dist/",
"./package.json": "./package.json"
},
"files": [
"dist"
],
"browserslist": "maintained node versions",
"devDependencies": {
"@babel/core": "^7.17.8",
"@babel/plugin-transform-runtime": "^7.17.0",
"@babel/preset-env": "^7.16.11",
"ava": "^4.1.0",
"cross-env": "^7.0.3",
"npm-run-all": "^4.1.5",
"rollup": "^2.70.1",
"rollup-plugin-filesize": "^9.1.2",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-ts": "^2.0.5",
"shelljs": "^0.8.5",
"shx": "^0.3.4",
"toc-md-alt": "^0.4.6",
"typescript": "^4.6.3"
},
"keywords": [
"adapter",
"collect",
"collector",
"commonjs",
"export",
"exporter",
"exports",
"fake",
"gather",
"gatherer",
"greasemonkey",
"module",
"quickjs",
"require",
"shim",
"spidermonkey",
"stub",
"tampermonkey",
"userscript",
"userscripts",
"violentmonkey"
]
}