82 lines
2.1 KiB
JSON
82 lines
2.1 KiB
JSON
{
|
|
"name": "memory-card",
|
|
"version": "1.1.2",
|
|
"description": "ES6 Map like Async API, with Swagger API Backend Support.",
|
|
"type": "module",
|
|
"exports": {
|
|
".": {
|
|
"import": "./dist/esm/src/mod.js",
|
|
"require": "./dist/cjs/src/mod.js"
|
|
}
|
|
},
|
|
"typings": "./dist/esm/src/mod.d.ts",
|
|
"engines": {
|
|
"node": ">=16",
|
|
"npm": ">=7"
|
|
},
|
|
"directories": {
|
|
"doc": "docs",
|
|
"test": "tests"
|
|
},
|
|
"scripts": {
|
|
"clean": "shx rm -fr dist/*",
|
|
"dist": "npm-run-all clean build dist:commonjs",
|
|
"build": "tsc && tsc -p tsconfig.cjs.json",
|
|
"dist:commonjs": "jq -n \"{ type: \\\"commonjs\\\" }\" > dist/cjs/package.json",
|
|
"lint": "npm-run-all lint:es lint:ts",
|
|
"lint:ts": "tsc --isolatedModules --noEmit",
|
|
"test": "npm-run-all lint test:unit",
|
|
"test:unit": "cross-env NODE_OPTIONS=\"--no-warnings --loader=ts-node/esm\" tap \"src/**/*.spec.ts\" \"tests/**/*.spec.ts\"",
|
|
"test:pack": "bash -x scripts/npm-pack-testing.sh",
|
|
"lint:es": "eslint --ignore-pattern tests/fixtures/ '{bin,examples,scripts,src,tests}/**/*.ts'"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/huan/memory-card.git"
|
|
},
|
|
"keywords": [
|
|
"async",
|
|
"map",
|
|
"swagger",
|
|
"openapi",
|
|
"key",
|
|
"value",
|
|
"store"
|
|
],
|
|
"author": "Huan LI <zixia@zixia.net>",
|
|
"license": "Apache-2.0",
|
|
"bugs": {
|
|
"url": "https://github.com/huan/memory-card/issues"
|
|
},
|
|
"homepage": "https://github.com/huan/memory-card#readme",
|
|
"devDependencies": {
|
|
"@chatie/eslint-config": "^1.0.4",
|
|
"@chatie/git-scripts": "^0.6.2",
|
|
"@chatie/semver": "^0.4.7",
|
|
"@chatie/tsconfig": "^4.5.3",
|
|
"aws-sdk": ">=2.1037.0",
|
|
"esdk-obs-nodejs": ">=3.21.6",
|
|
"etcd3": "^1.1.0",
|
|
"pkg-jq": "^0.2.11",
|
|
"shx": "^0.3.3",
|
|
"tstest": "^1.0.1"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public",
|
|
"tag": "next"
|
|
},
|
|
"peerDependencies": {},
|
|
"dependencies": {
|
|
"async-map-like": "^1.0.2",
|
|
"brolog": "^1.14.2"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"src"
|
|
],
|
|
"git": {
|
|
"scripts": {
|
|
"pre-push": "npx git-scripts-pre-push"
|
|
}
|
|
}
|
|
} |