package.json 1.81 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
 47
 48
 49
 50
 51
 52
 53
{
"name": "wasm-feature-detect",
"version": "1.6.1",
"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"
},
"browser": "./dist/esm/index.js"
},
"./package.json": "./package.json"
},
"main": "./dist/cjs/index.cjs",
"module": "./dist/esm/index.js",
"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 <surma@surma.link>",
"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.2.0",
"wabt": "^1.0.32"
}
}