-
-
Notifications
You must be signed in to change notification settings - Fork 82
Expand file tree
/
Copy pathpackage.json
More file actions
46 lines (46 loc) · 1.4 KB
/
package.json
File metadata and controls
46 lines (46 loc) · 1.4 KB
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
44
45
46
{
"name": "@herb-tools/browser",
"version": "0.9.1",
"description": "WebAssembly-based HTML-aware ERB parser for browsers.",
"type": "module",
"license": "MIT",
"homepage": "https://herb-tools.dev",
"bugs": "https://github.com/marcoroth/herb/issues/new?title=Package%20%60@herb-tools/browser%60:%20",
"repository": {
"type": "git",
"url": "git+https://github.com/marcoroth/herb.git",
"directory": "javascript/packages/browser"
},
"main": "./dist/herb-browser.esm.js",
"module": "./dist/herb-browser.esm.js",
"types": "./dist/types/index.d.ts",
"scripts": {
"build": "yarn clean && yarn build:wasm && yarn build:javascript",
"build:wasm": "cd ../../../wasm && make ../javascript/packages/browser/build/libherb.js && cd -",
"clean:wasm": "cd ../../../wasm && make clean_browser && cd -",
"build:javascript": "rollup -c",
"dev": "rollup -c -w",
"clean": "rimraf dist && rimraf build",
"test": "vitest run",
"test:ui": "vitest --watch --ui",
"prepublishOnly": "yarn clean && yarn build && yarn test"
},
"exports": {
"./package.json": "./package.json",
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/herb-browser.esm.js",
"default": "./dist/herb-browser.esm.js"
}
},
"dependencies": {
"@herb-tools/core": "0.9.1"
},
"files": [
"package.json",
"README.md",
"dist/",
"src/",
"build/"
]
}