-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
84 lines (84 loc) · 2.15 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
{
"name": "vm-worker",
"version": "1.2.1",
"description": "Tiny virtual machine for browser to execute javascript modules in Web Worker",
"keywords": [
"virtual",
"machine",
"vm",
"eval",
"exec",
"execute",
"browser",
"web",
"worker",
"webworker",
"module",
"esm",
"esmodule",
"commonjs",
"typescript",
"ts",
"import",
"export",
"exports",
"require"
],
"repository": {
"type": "git",
"url": "https://github.com/Cweili/vm-worker.git"
},
"author": "Cweili",
"license": "MIT",
"homepage": "https://github.com/Cweili/vm-worker",
"bugs": {
"url": "https://github.com/Cweili/vm-worker/issues"
},
"main": "dist/vm-worker.cjs.js",
"module": "dist/vm-worker.esm.js",
"unpkg": "dist/vm-worker.js",
"jsdelivr": "dist/vm-worker.js",
"sideEffects": false,
"scripts": {
"test": "jest tests --runInBand --detectOpenHandles --coverage",
"prepare": "rollup -c && rexreplace \"text/plain\" \"applicaion/javascript\" dist/*.js"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx}": [
"eslint --fix",
"git add"
]
},
"devDependencies": {
"@babel/core": "^7.18.5",
"@babel/eslint-parser": "^7.17.0",
"@babel/plugin-proposal-decorators": "^7.18.2",
"@babel/plugin-transform-runtime": "^7.18.5",
"@babel/preset-env": "^7.18.2",
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-commonjs": "^26.0.1",
"@rollup/plugin-node-resolve": "^15.0.2",
"@rollup/plugin-url": "^8.0.1",
"babel-jest": "^29.1.2",
"eslint": "^8.17.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-import-resolver-node": "^0.3.6",
"eslint-plugin-import": "^2.26.0",
"fast-async": "^7.0.6",
"husky": "^9.0.11",
"jest": "^29.1.2",
"lint-staged": "^15.2.0",
"mitt": "^3.0.0",
"rewrite-imports": "^3.0.0",
"rexreplace": "^7.0.7",
"rollup": "^2.75.6",
"rollup-plugin-string": "^3.0.0",
"rollup-plugin-terser": "^7.0.2",
"sucrase": "^3.24.0"
}
}