mirror of
https://github.com/luxfi/consensus.git
synced 2026-09-24 00:26:58 +00:00
- Removed all Snow consensus code and dependencies - Replaced snow.Context with consensuscontext.Context - Updated all imports and references - Added comprehensive test suites for core packages - Fixed all build errors and test failures - Achieved 100% test pass rate (21 packages passing) - Improved test coverage to 30% Breaking changes: - Removed snow package entirely - Changed VM interface to use VMState instead of snow.State - Updated ChainContext structure Tests added: - core/app_error_test.go: 100% coverage - core/bootstrap_test.go: comprehensive concurrent tests - core/health_test.go: full integration tests - validators/validators_test.go: complete interface tests - version/version_test.go: 100% coverage - codec/codec_test.go: marshal/unmarshal tests - context/context_test.go: all functions tested
62 lines
1.5 KiB
JSON
62 lines
1.5 KiB
JSON
{
|
|
"name": "flat-cache",
|
|
"version": "3.2.0",
|
|
"description": "A stupidly simple key/value storage using files to persist some data",
|
|
"repository": "jaredwray/flat-cache",
|
|
"license": "MIT",
|
|
"author": {
|
|
"name": "Jared Wray",
|
|
"url": "https://jaredwray.com"
|
|
},
|
|
"main": "src/cache.js",
|
|
"files": [
|
|
"src/cache.js",
|
|
"src/del.js",
|
|
"src/utils.js"
|
|
],
|
|
"engines": {
|
|
"node": "^10.12.0 || >=12.0.0"
|
|
},
|
|
"precommit": [
|
|
"npm run verify --silent"
|
|
],
|
|
"prepush": [
|
|
"npm run verify --silent"
|
|
],
|
|
"scripts": {
|
|
"eslint": "eslint --cache --cache-location=node_modules/.cache/ ./src/**/*.js ./test/**/*.js",
|
|
"eslint-fix": "npm run eslint -- --fix",
|
|
"autofix": "npm run eslint-fix",
|
|
"check": "npm run eslint",
|
|
"verify": "npm run eslint && npm run test:cache",
|
|
"test:cache": "c8 mocha -R spec test/specs",
|
|
"test:ci:cache": "c8 --reporter=lcov mocha -R spec test/specs",
|
|
"test": "npm run verify --silent"
|
|
},
|
|
"keywords": [
|
|
"json cache",
|
|
"simple cache",
|
|
"file cache",
|
|
"key par",
|
|
"key value",
|
|
"cache"
|
|
],
|
|
"devDependencies": {
|
|
"c8": "^7.14.0",
|
|
"chai": "^4.3.10",
|
|
"eslint": "^7.13.0",
|
|
"eslint-config-prettier": "^6.15.0",
|
|
"eslint-plugin-mocha": "^8.0.0",
|
|
"eslint-plugin-prettier": "^3.1.4",
|
|
"glob-expand": "^0.2.1",
|
|
"mocha": "^8.4.0",
|
|
"prettier": "^2.1.2",
|
|
"write": "^2.0.0"
|
|
},
|
|
"dependencies": {
|
|
"flatted": "^3.2.9",
|
|
"keyv": "^4.5.3",
|
|
"rimraf": "^3.0.2"
|
|
}
|
|
}
|