forked from mercmobily/JS-Interpreter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
43 lines (43 loc) · 1.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
{
"name": "@netwin/js-interpreter",
"version": "2.6.1",
"description": "NPM package for https://github.com/NeilFraser/JS-Interpreter",
"main": "./dist/esbuild-cjs/js-interpreter.js",
"module": "./dist/esbuild-esm/js-interpreter.js",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/esbuild-esm/js-interpreter.js",
"require": "./dist/esbuild-cjs/js-interpreter.js"
}
},
"files": [
"dist"
],
"scripts": {
"clean": "rimraf dist",
"prebuild": "npm run clean",
"build:esm": "npm run build:base -- --format=esm --outfile=./dist/esbuild-esm/js-interpreter.js",
"build:node": "npm run build:base -- --format=cjs --outfile=./dist/esbuild-cjs/js-interpreter.js",
"build:base": "esbuild ./src/index.ts --tsconfig=tsconfig.json --bundle --sourcemap --minify",
"build:tsc": "tsc --declaration --emitDeclarationOnly",
"build": "npm run build:esm && npm run build:node && npm run build:tsc",
"prepublishOnly": "npm run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/netwin/JS-Interpreter.git"
},
"author": "NetWin",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/netwin/JS-Interpreter/issues"
},
"homepage": "https://github.com/netwin/JS-Interpreter#readme",
"devDependencies": {
"@types/node": "^20.14.8",
"esbuild": "^0.21.5",
"rimraf": "^5.0.7",
"typescript": "^5.5.2"
}
}