-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
67 lines (67 loc) · 1.93 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
{
"name": "module-from-string",
"version": "3.3.1",
"description": "Load module from string using require or import.",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"exports": {
"require": "./dist/index.js",
"import": "./dist/index.mjs",
"types": "./dist/index.d.ts"
},
"scripts": {
"clean": "rm -rf .cache dist",
"dts": "tsc -p tsconfig.dts.json",
"bundle": "rollup -c",
"build": "npm run clean && npm run dts && npm run bundle",
"lint": "ts-standardx",
"lint:fix": "ts-standardx --fix",
"jest:cjs": "jest -c __tests__/cjs/jest.config.js",
"jest:esm": "cross-env NODE_OPTIONS=--experimental-vm-modules jest -c __tests__/esm/jest.config.js",
"jest": "npm run jest:cjs && npm run jest:esm",
"test": "npm run lint && npm run build && npm run jest"
},
"repository": {
"type": "git",
"url": "git+https://github.com/exuanbo/module-from-string.git"
},
"keywords": [
"load",
"module",
"string",
"require",
"require-from-string",
"import",
"vm",
"esbuild"
],
"author": "exuanbo",
"license": "MIT",
"bugs": {
"url": "https://github.com/exuanbo/module-from-string/issues"
},
"homepage": "https://github.com/exuanbo/module-from-string#readme",
"engines": {
"node": ">=12.20.0"
},
"dependencies": {
"esbuild": "^0.23.0",
"nanoid": "^3.3.7"
},
"devDependencies": {
"@types/jest": "28.1.8",
"@types/node": "22.0.0",
"@types/normalize-path": "3.0.2",
"cross-env": "7.0.3",
"jest": "28.1.3",
"normalize-path": "3.0.0",
"rollup": "2.79.1",
"rollup-plugin-dts": "4.2.3",
"rollup-plugin-esbuild-transform": "1.5.0",
"ts-jest": "28.0.8",
"ts-standardx": "0.8.4",
"typescript": "4.4.4"
},
"packageManager": "[email protected]+sha512.dc700d97c8bd0ca9d403cf4fe0a12054d376f048d27830a6bc4a9bcce02ec42143cdd059ce3525f7dce09c6a4e52e9af5b996f268d8729c8ebb1cfad7f2bf51f"
}