-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
29 lines (29 loc) · 1.05 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
{
"name": "elt-ui",
"version": "0.10.2",
"repository": "https://github.com/elementjs/elt-ui",
"engines": {"node": ">=8.0.0"},
"description": "some description",
"license": "MIT",
"main": "./lib/index.js",
"typings": "./lib/index.d.ts",
"baseUrl": "lib",
"scripts": {
"build:namespace": "grep namespace lib/index.d.ts || echo 'export as namespace eltui' >> lib/index.d.ts",
"build:esbuild": "esbuild --external:elt --bundle src/index.ts --outfile=dist/eltui.js --jsx-factory=e --global-name=eltui --jsx-import-source=elt --jsx-fragment=e.Fragment",
"build:js": "tsc | wtsc",
"build:other": "npm run build:esbuild && npm run build:namespace",
"build": "npm run build:js && npm run build:esbuild && npm run build:namespace",
"prepublish": "npm run build",
"watch": "tsc -w --preserveWatchOutput | wtsc npm run build:other"
},
"devDependencies": {
"@rollup/plugin-node-resolve": "^7.1.1",
"typescript": "^4.8.2",
"esbuild": "^0.15.7",
"wtsc": "0.1.3"
},
"peerDependencies": {
"osun": "^0.5.x"
}
}