forked from torx-software/txda-webframe-helper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
30 lines (30 loc) · 1.32 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
{
"name": "txda-webframe-helper",
"version": "0.0.1",
"main": "index.ts",
"author": "Torx Software Ltd",
"license": "UNLICENSED",
"scripts": {
"build:iife": "esbuild src/index.ts --bundle --minify --sourcemap --platform=browser --format=iife --target=es2020 --global-name=txdaWebframeHelper --outfile=./dist/txda-webframe-helper.min.js",
"build:esm": "esbuild src/index.ts --bundle --sourcemap --platform=browser --outdir=esm --format=esm && tsc --emitDeclarationOnly --outDir esm",
"build:all": "yarn tsc:check && yarn build:iife && yarn build:esm",
"build": "yarn build:all",
"clean": "rm -rf ./dist/* && rm -rf ./esm/* && rm -rf ./demo/*.js*",
"demo:build": "yarn build:iife && cp dist/txda-webframe-helper.min.js* ./demo",
"demo:serve": "yarn demo:build && serve -C -p 3456 ./demo",
"docs:build": "yarn typedoc --plugin typedoc-plugin-mdn-links --readme ./README.md --out docs ./src/index.ts ./src/types.ts",
"docs:serve": "yarn docs:build && serve -p 3457 ./docs",
"tsc:check": "tsc -noEmit",
"watch": "yarn build --watch",
"watch:esm": "yarn build:esm --watch"
},
"devDependencies": {
"esbuild": "^0.14.1",
"serve": "^13.0.2",
"tslib": "^2.3.1",
"typedoc": "^0.22.10",
"typedoc-plugin-mdn-links": "^1.0.4",
"typescript": "^4.5.2"
},
"dependencies": {}
}