forked from GoogleChromeLabs/wasm-feature-detect
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
47 lines (47 loc) · 1.63 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{
"name": "wasm-feature-detect",
"version": "1.6.0",
"description": "A small library to detect which features of WebAssembly are supported in your current browser.",
"exports": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/cjs/index.cjs"
}
},
"types": "dist/index.d.ts",
"type": "module",
"files": [
"dist"
],
"scripts": {
"build:library": "rollup -c",
"build:readme": "node --experimental-modules ./render-readme.mjs",
"build:dts": "node --experimental-modules ./render-dts.mjs",
"build": "npm run build:library && npm run build:readme && npm run build:dts && npm run fmt",
"build:website": "npm run build && node genwebsite.cjs",
"prepublishOnly": "npm run build",
"fmt": "prettier --write --no-error-on-unmatched-pattern ./{src,test,rollup-plugins}/*.{mjs,cjs,js,md} *.{mjs,cjs,js,md}",
"fmt_test": "prettier --check --no-error-on-unmatched-pattern --write ./{src,test,rollup-plugins}/*.{mjs,cjs,js,md} *.{mjs,cjs,js,md}",
"test": "npm run fmt_test && npm run build && node --no-warnings test/index.cjs"
},
"repository": "GoogleChromeLabs/wasm-feature-detect",
"keywords": [],
"author": "Surma <[email protected]>",
"license": "Apache-2.0",
"devDependencies": {
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-terser": "^0.4.4",
"binaryen": "^116.0.0",
"ejs": "^3.1.9",
"highlight.js": "^11.9.0",
"magic-string": "^0.30.5",
"markdown-it": "^13.0.2",
"prettier": "^3.0.3",
"rollup": "^4.1.4",
"wabt": "^1.0.32"
}
}