UNPKG

js-data

Version:

Robust, framework-agnostic in-memory data store.

112 lines (111 loc) 3.59 kB
{ "name": "js-data", "description": "Robust, framework-agnostic in-memory data store.", "version": "3.0.11", "homepage": "http://www.js-data.io", "repository": { "type": "git", "url": "https://github.com/js-data/js-data.git" }, "author": "js-data project authors", "license": "MIT", "main": "./dist/js-data.js", "jsnext:main": "dist/js-data.es2015.js", "typings": "./dist/js-data.d.ts", "files": [ "dist/", "lib/", "src/", "AUTHORS", "CONTRIBUTORS", "typings.json" ], "keywords": [ "orm", "odm", "model", "schema", "rest", "datastore", "store", "database", "adapter", "http", "localstorage" ], "standard": { "parser": "babel-eslint", "globals": [ "beforeEach", "after", "describe", "it" ] }, "scripts": { "banner": "node scripts/banner.js", "build": "npm run lint && npm run bundle && npm run min && npm run banner", "bundle:es5": "rollup src/index.js -c -o dist/js-data.js -m dist/js-data.js.map -f umd", "bundle:next": "rollup src/index.js -c -o dist/js-data.es2015.js -m dist/js-data.es2015.js.map -f es", "bundle": "npm run bundle:es5 && npm run bundle:next && repo-tools write-version dist/js-data.js dist/js-data.es2015.js", "cover": "nyc --require @babel/register --require @babel/polyfill --cache mocha --recursive -R dot && nyc report --reporter=html", "doc": "jsdoc -c conf.json src && node scripts/cleanup.js", "gzip": "echo gzipped size: $(cat dist/js-data.min.js | gzip -f9 | wc -c)kb", "lint": "eslint --fix src/**/*.js && standard --fix 'src/**/*.js' 'test/**/*.js' 'scripts/*.js' 'lib/**/*.js' '*.config.js'", "min": "uglifyjs -o dist/js-data.min.js --source-map url=js-data.min.map -v -m -c --keep-fnames --screw-ie8 -- dist/js-data.js", "mocha": "mocha -b --recursive -R dot -r @babel/register -r @babel/polyfill", "precommit": "lint-staged && npm run lint", "prepush": "npm test", "release": "npm test && npm run doc && repo-tools updates && repo-tools changelog && repo-tools authors", "test": "npm run build && npm run cover" }, "lint-staged": { "linters": { "src/**/*.js": [ "prettier-standard", "git add" ] } }, "devDependencies": { "@babel/cli": "^7.13.10", "@babel/core": "^7.13.10", "@babel/node": "^7.8.3", "@babel/plugin-external-helpers": "^7.8.3", "@babel/plugin-transform-modules-umd": "^7.13.0", "@babel/plugin-transform-regenerator": "^7.12.13", "@babel/polyfill": "^7.8.3", "@babel/preset-env": "^7.13.12", "@js-data/repo-tools": "^1.0.1", "babel-eslint": "^10.0.3", "chai": "^4.3.4", "docdash": "^1.1.1", "eslint": "^6.8.0", "eslint-config-standard": "^14.1.1", "eslint-plugin-import": "^2.22.1", "eslint-plugin-node": "^11.1.0", "eslint-plugin-promise": "^4.3.1", "eslint-plugin-standard": "^4.1.0", "husky": "^4.3.8", "jsdoc": "^3.6.3", "karma": "^4.4.1", "karma-babel-preprocessor": "^8.0.1", "karma-chai": "^0.1.0", "karma-chrome-launcher": "^3.1.0", "karma-mocha": "^1.3.0", "karma-phantomjs-launcher": "^1.0.4", "karma-sauce-launcher": "^2.0.2", "karma-sinon": "^1.0.5", "lint-staged": "^10.5.4", "lodash": "^4.17.21", "mocha": "^7.2.0", "nyc": "15.0.0", "phantomjs-prebuilt": "^2.1.16", "prettier-standard": "^16.4.1", "rollup": "^1.32.1", "rollup-plugin-babel": "^4.4.0", "sinon": "^8.1.0", "standard": "14.3.1", "uglify-js": "^3.13.2" } }