-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
32 lines (32 loc) · 1.24 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
{
"name": "ebisu-js",
"version": "2.1.3",
"main": "dist/ebisu.cjs",
"module": "dist/ebisu.min.mjs",
"types": "index.ts",
"typings": "index.ts",
"license": "Unlicense",
"dependencies": {
"gamma": "^1.0.0",
"minimize-golden-section-1d": "^3.0.0"
},
"devDependencies": {
"@stdlib/math": "^0.0.11",
"@types/node": "^18.11.18",
"esbuild": "0.17.5",
"tape": "^4.6.3",
"typescript": "^4.9.4"
},
"repository": "fasiha/ebisu.js",
"bugs": "https://github.com/fasiha/ebisu.js/issues",
"scripts": {
"pre-release": "npm run compile && npm run test && npm run build && git status --untracked-files=no --porcelain",
"build": "npm run build-node-cjs && npm run build-esm && npm run build-browser",
"build-node-cjs": "esbuild index.ts --bundle --platform=node --target=node10 --format=cjs --outfile=dist/ebisu.cjs",
"build-esm": "esbuild index.ts --bundle --minify --sourcemap --platform=neutral --format=esm --outfile=dist/ebisu.min.mjs",
"build-browser": "esbuild index.ts --bundle --minify --sourcemap --platform=browser --format=iife --global-name=ebisu --outfile=dist/ebisu.min.js",
"compile": "tsc -p .",
"compile-watch": "tsc -p . --watch",
"test": "npm run compile && tape test.js"
}
}