-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
28 lines (28 loc) · 1.03 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
{
"name": "@lifeart/sm-annotate",
"version": "1.0.0",
"description": "Vector Annotation Tool",
"main": "dist/index.js",
"repository": "https://github.com/lifeart/sm-annotate.git",
"author": "Alex Kanunnikov <lifeart92@gmail.com>",
"license": "C-BY-NC-4.0",
"private": false,
"type": "module",
"types": "dist/types/index.d.ts",
"devDependencies": {
"esbuild": "0.24.0",
"typescript": "^5.0.4",
"webaudio-peaks": "^1.0.0"
},
"exports": "./dist/index.js",
"scripts": {
"typecheck": "tsc --noEmit",
"build-types": "tsc --emitDeclarationOnly",
"build-ts": "esbuild src/index.ts --bundle --minify --target=es2015 --outfile=dist/index.js --format=esm",
"watch": "esbuild demo/index.ts --bundle --outfile=demo/index.js --watch --servedir=demo --serve=4300",
"build-demo": "esbuild demo/index.ts --bundle --minify --target=es2015 --outfile=demo/index.js",
"dev": "yarn run watch",
"build": "yarn clean && yarn build-demo && yarn build-ts && yarn run build-types",
"clean": "rm -rf dist"
}
}