UNPKG

active-data

Version:

Reactive data manager, inspired by MobX. Automatically detects associated data and perform updates to your views or everything dependent on that data when it changes. Implemented with js Proxy objects

130 lines (129 loc) 4.53 kB
{ "name": "active-data", "version": "2.0.10", "description": "Reactive data manager, inspired by MobX. Automatically detects associated data and perform updates to your views or everything dependent on that data when it changes. Implemented with js Proxy objects", "main": "dist/active-data.js", "module": "dist/active-data.esm.mjs", "engines": { "node": ">=6.0.0" }, "_moduleAliases": { "active-data": "./src/active-data.js" }, "nyc": { "temp-dir": "./coverage", "report-dir": "./coverage", "reporter": [ "lcov", "text" ] }, "scripts": { "init": "rm -rf ./node-modules/ > /dev/null && npm i", "test": "eslint . && cross-env BROWSERSLIST_ENV=modern NODE_ENV=test BABEL_ENV=test node ./build-utils/run-esm.js -s ./test/index.js | faucet && nyc report", "test-webpack": "eslint . && cross-env BROWSERSLIST_ENV=modern NODE_ENV=test BABEL_ENV=test webpack --config ./webpack/test.config.js && nyc --reporter=lcov node ./test/build/index.js | faucet && nyc report", "fix": "eslint --fix .", "coverage": "codecov", "build": "run-p build:*", "build:esm": "terser ./src/active-data.js --compress --mangle --mangle-props --source-map includeSources -o ./dist/active-data.esm.mjs", "build:legacy": "cross-env BROWSERSLIST_ENV=legacy NODE_ENV=production BABEL_ENV=production webpack --config ./webpack/production.config.js", "build:modern": "cross-env BROWSERSLIST_ENV=modern NODE_ENV=production BABEL_ENV=production webpack --config ./webpack/production.config.js", "documentation-old": "documentation build src/active-data.js -f md > DOCUMENTATION.md", "documentation": "jsdoc2md src/active-data.js > DOCUMENTATION.md", "release": "npm run release-patch", "release-patch": "npm test && npm run build && npm run documentation && va-release --version patch", "release-minor": "npm test && npm run build && npm run documentation && va-release --version minor", "release-major": "npm test && npm run build && npm run documentation && va-release --version major", "build-templates": "va-release -t", "test-old": "eslint . && BROWSERSLIST_ENV=modern NODE_ENV=test BABEL_ENV=test webpack --hide-modules --config ./webpack/test.config.js && node ./test/build/index.js && istanbul report --dir ./coverage/ --include ./coverage/coverage.json text html" }, "va-release": { "assets": "dist/**/*", "files": [ { "cwd": "templates/", "src": [ "**/*" ], "dest": "./" } ], "library": "activeData" }, "repository": { "type": "git", "url": "git+https://github.com/forceuser/active-data.git" }, "keywords": [ "active data", "react", "reactjs", "reactive", "data manager", "data binding", "observable", "model", "state", "managment" ], "author": { "name": "Vitaly Dub", "url": "https://github.com/forceuser" }, "license": "MIT", "bugs": { "url": "https://github.com/forceuser/active-data/issues" }, "homepage": "https://github.com/forceuser/active-data#readme", "dependencies": {}, "devDependencies": { "@babel/core": "^7.1.0", "@babel/plugin-proposal-object-rest-spread": "^7.0.0", "@babel/plugin-proposal-optional-chaining": "^7.0.0", "@babel/plugin-proposal-unicode-property-regex": "^7.0.0", "@babel/plugin-syntax-dynamic-import": "^7.0.0", "@babel/plugin-syntax-import-meta": "^7.0.0", "@babel/plugin-transform-regenerator": "^7.0.0", "@babel/polyfill": "^7.0.0", "@babel/preset-env": "^7.1.0", "@babel/register": "^7.0.0", "babel-eslint": ">=10.0.1", "babel-loader": "^8.0.2", "babel-minify": "^0.5.0", "babel-minify-webpack-plugin": "^0.3.1", "babel-plugin-istanbul": "^5.1.0", "babel-preset-minify": "^0.5.0", "codecov": "^3.2.0", "cross-env": "^5.2.0", "deepmerge": "^3.2.0", "documentation": "^9.0.0", "eslint": ">=5.10.0", "esm": "^3.2.5", "faucet": "0.0.1", "foreach-cli": "^1.8.0", "fs-extra": "^7.0.0", "globby": "^9.0.0", "imports-loader": "^0.8.0", "inject-loader": "^4.0.1", "is-glob": "^4.0.0", "is-wsl": "^1.1.0", "jsdoc-to-markdown": "^4.0.1", "module-alias": "^2.1.0", "npm-run-all": "^4.1.3", "nyc": "^13.1.0", "regenerator-runtime": "^0.13.1", "sinon": "^7.2.4", "sqnc": "^3.0.3", "tape": "^4.6.3", "terser": "^4.0.0", "terser-webpack-plugin": "^1.2.2", "uglifyjs-webpack-plugin": "^2.0.1", "universal-url": "^2.0.0", "va-release": "^1.1.14", "webpack": "4.29.5", "webpack-bundle-analyzer": "^3.0.3", "webpack-cli": "3.2.3", "webpack-merge": "4.2.1" }, "tonicExampleFilename": "tonic-example.js" }