Files
dolt/js/package.json
T
Chris Masone aa0b0fd658 JS: Maintain validation cache on DataStore across Commit
While this causes the cache to potentially grow infinitely, having a
DataStore keep track of every value it's read or written makes it
simpler to program with. Once RefValues can only come to be by being
read out of a DataStore, we can do away with this altogether.

The big changes here are that DataStore now has a ValueStore, instead
if extending ValueStore. The DataStore constructor now takes a
ValueStore, so that new instances re-use the same ValueStore can be
constructed on Commit. Since callers don't care about that detail,
this change exports NewDataStore(), which still takes a BatchStore.
2016-05-03 13:11:01 -07:00

60 lines
2.4 KiB
JSON

{
"name": "@attic/noms",
"version": "21.1.0",
"description": "Noms JS SDK",
"repository": "https://github.com/attic-labs/noms",
"main": "dist/commonjs/noms.js",
"jsnext:main": "dist/es6/noms.js",
"dependencies": {
"babel-regenerator-runtime": "6.5.0",
"babel-runtime": "5.8.38",
"rusha": "0.8.3",
"text-encoding-utf-8": "1.0.1"
},
"devDependencies": {
"@attic/eslintrc": "^1.0.0",
"babel-cli": "6.6.5",
"babel-core": "6.7.2",
"babel-generator": "6.7.2",
"babel-plugin-syntax-async-functions": "6.5.0",
"babel-plugin-syntax-flow": "6.5.0",
"babel-plugin-transform-async-to-generator": "6.7.0",
"babel-plugin-transform-class-properties": "6.6.0",
"babel-plugin-transform-es2015-destructuring": "6.6.5",
"babel-plugin-transform-es2015-modules-commonjs": "6.7.0",
"babel-plugin-transform-es2015-parameters": "6.7.0",
"babel-plugin-transform-runtime": "^6.6.0",
"babel-preset-es2015": "6.6.0",
"babel-preset-react": "6.5.0",
"chai": "3.5.0",
"chokidar": "1.4.3",
"commander": "2.9.0",
"flow-bin": "^0.24.1",
"fs-extra": "0.26.7",
"mocha": "2.4.5"
},
"scripts": {
"pretest": "eslint src/ && flow src/",
"ts": "mocha --ui tdd --reporter spec --slow=50 --invert --grep='LONG:' --compilers js:babel-core/register src/*-test.js",
"test": "mocha --ui tdd --reporter dot --compilers js:babel-core/register src/*-test.js",
"prepublish": "npm run compile && npm run copy-flow-files",
"compile": "npm run compile-to-commonjs && npm run compile-to-es6",
"compile-to-commonjs": "BABEL_ENV=production babel -d dist/commonjs src/",
"compile-to-es6": "BABEL_ENV=es6 babel -d dist/es6 src/",
"copy-flow-files": "npm run copy-flow-files-commonjs && npm run copy-flow-files-es6",
"copy-flow-files-commonjs": "node build/copy-flow-files.js -d dist/commonjs/ src/",
"copy-flow-files-es6": "node build/copy-flow-files.js -d dist/es6/ src/"
},
"browser": {
"./src/fetch.js": "./src/browser/fetch.js",
"./dist/commonjs/fetch.js": "./dist/commonjs/browser/fetch.js",
"./dist/es6/fetch.js": "./dist/es6/browser/fetch.js",
"./src/sha1.js": "./src/browser/sha1.js",
"./dist/commonjs/sha1.js": "./dist/commonjs/browser/sha1.js",
"./dist/es6/sha1.js": "./dist/es6/browser/sha1.js",
"./src/utf8.js": "./src/browser/utf8.js",
"./dist/commonjs/utf8.js": "./dist/commonjs/browser/utf8.js",
"./dist/es6/utf8.js": "./dist/es6/browser/utf8.js"
}
}