42 lines
1.5 KiB
JSON
42 lines
1.5 KiB
JSON
|
{
|
||
|
"name": "wasm-feature-detect",
|
||
|
"version": "1.5.1",
|
||
|
"description": "A small library to detect which features of WebAssembly are supported in your current browser.",
|
||
|
"exports": {
|
||
|
"import": "./dist/esm/index.js",
|
||
|
"require": "./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 --no-error-on-unmatched-pattern --write ./{,src,test,rollup-plugins}/*.{mjs,cjs,js,md}",
|
||
|
"fmt_test": "prettier --check --no-error-on-unmatched-pattern --write ./{,src,test,rollup-plugins}/*.{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 <surma@surma.link>",
|
||
|
"license": "Apache-2.0",
|
||
|
"devDependencies": {
|
||
|
"@rollup/plugin-commonjs": "^24.0.1",
|
||
|
"@rollup/plugin-terser": "^0.4.0",
|
||
|
"binaryen": "^111.0.0",
|
||
|
"ejs": "^3.1.7",
|
||
|
"highlight.js": "^11.7.0",
|
||
|
"magic-string": "^0.25.4",
|
||
|
"markdown-it": "^12.3.2",
|
||
|
"prettier": "^2.8.3",
|
||
|
"rollup": "^3.12.1",
|
||
|
"wabt": "^1.0.32"
|
||
|
}
|
||
|
}
|