49 lines
1.4 KiB
JSON
49 lines
1.4 KiB
JSON
{
|
|
"name": "zstddec",
|
|
"version": "0.1.0",
|
|
"description": "ZSTD (Zstandard) decoder for Web and Node.js, using WebAssembly",
|
|
"repository": "github:donmccurdy/zstddec",
|
|
"type": "module",
|
|
"sideEffects": false,
|
|
"source": "zstddec.ts",
|
|
"types": "./dist/zstddec.d.ts",
|
|
"main": "./dist/zstddec.cjs",
|
|
"module": "./dist/zstddec.esm.js",
|
|
"exports": {
|
|
"types": "./dist/zstddec.d.ts",
|
|
"require": "./dist/zstddec.cjs",
|
|
"default": "./dist/zstddec.modern.js"
|
|
},
|
|
"scripts": {
|
|
"dist": "microbundle --format modern,esm,cjs --no-compress",
|
|
"watch": "microbundle watch --format modern,esm,cjs --no-compress",
|
|
"test": "npm run test:node && npm run test:browser",
|
|
"test:node": "tape *.test.cjs | tap-spec",
|
|
"test:browser": "browserify *.test.cjs | tape-run | tap-spec",
|
|
"preversion": "rimraf dist/* && npm run dist && npm run test",
|
|
"postversion": "git push && git push --tags && npm publish"
|
|
},
|
|
"keywords": [
|
|
"zstd",
|
|
"zstandard",
|
|
"compression"
|
|
],
|
|
"author": "Don McCurdy <dm@donmccurdy.com>",
|
|
"license": "MIT AND BSD-3-Clause",
|
|
"devDependencies": {
|
|
"browserify": "^16.5.1",
|
|
"microbundle": "^0.15.1",
|
|
"rimraf": "^5.0.1",
|
|
"tap-spec": "^5.0.0",
|
|
"tape": "^5.0.1",
|
|
"tape-run": "^10.0.0"
|
|
},
|
|
"files": [
|
|
"dist/",
|
|
"*.ts",
|
|
"README.md",
|
|
"package.json",
|
|
"package-lock.json"
|
|
]
|
|
}
|