pessimism
Version:
A fast HAMT Map intended for KV caching and optimistic updates
89 lines (88 loc) • 2.1 kB
JSON
{
"name": "pessimism",
"description": "A fast HAMT Map intended for KV caching and optimistic updates",
"version": "1.1.4",
"author": "Phil Pluckthun <phil@kitten.sh>",
"source": "./src/index.js",
"main": "./dist/pessimism.js",
"module": "./dist/pessimism.es.js",
"jsnext:main": "./dist/pessimism.es.js",
"types": "./src/index.d.ts",
"sideEffects": false,
"files": [
"src",
"lib/js",
"dist",
"docs/*.md",
"*.md",
"bsconfig.json"
],
"scripts": {
"check": "tsc --noEmit",
"clean": "bsb -clean-world",
"build": "bsb -make-world",
"watch": "bsb -make-world -w",
"test": "jest",
"coverage": "jest -c ./.jest.coverage.json --coverage",
"test:watch": "jest --watch",
"refmt": "bsrefmt --in-place **/**/*.{re,rei}",
"bundle": "rollup -c rollup.config.js",
"prepublishOnly": "run-s clean build bundle check test"
},
"keywords": [
"hamt",
"kv",
"cache",
"optimistic"
],
"repository": "https://github.com/kitten/pessimism",
"bugs": {
"url": "https://github.com/kitten/pessimism/issues"
},
"license": "MIT",
"dependencies": {},
"devDependencies": {
"@babel/core": "^7.5.5",
"@glennsl/bs-jest": "^0.4.8",
"babel-plugin-closure-elimination": "^1.3.0",
"bs-platform": "^6.0.3",
"husky": "^3.0.1",
"lint-staged": "^9.2.1",
"npm-run-all": "^4.1.5",
"prettier": "^1.18.2",
"rollup": "^1.17.0",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-buble": "^0.19.8",
"rollup-plugin-commonjs": "^10.0.1",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-terser": "^5.1.1",
"typescript": "^3.5.3"
},
"lint-staged": {
"*.{d.ts,js}": [
"prettier --write",
"git add"
],
"*.{re,rei}": [
"bsrefmt --in-place",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"prettier": {
"singleQuote": true,
"printWidth": 100
},
"jest": {
"moduleFileExtensions": [
"js"
],
"testMatch": [
"**/lib/js/__tests__/*_test.js"
]
}
}