UNPKG

ampersand-state

Version:

An observable, extensible state object with derived watchable properties.

67 lines (66 loc) 2.08 kB
{ "name": "ampersand-state", "description": "An observable, extensible state object with derived watchable properties.", "version": "5.0.3", "author": "Henrik Joreteg <henrik@andyet.net>", "files": [ "ampersand-state.js" ], "browserify": { "transform": [ "ampersand-version" ] }, "bugs": { "url": "https://github.com/ampersandjs/ampersand-state/issues" }, "dependencies": { "ampersand-events": "^2.0.1", "ampersand-version": "^1.0.0", "array-next": "~0.0.1", "key-tree-store": "^1.3.0", "lodash": "^4.12.0" }, "devDependencies": { "ampersand-collection": "^2.0.0", "ampersand-registry": "0.x.x", "coveralls": "^3.0.0", "istanbul": "^0.4.3", "jshint": "^2.9.2", "phantomjs-prebuilt": "^2.1.7", "precommit-hook": "^3.0.0", "tape": "^4.5.1", "zuul": "^3.10.1" }, "homepage": "https://github.com/ampersandjs/ampersand-state", "keywords": [ "model", "object", "observable" ], "license": "MIT", "main": "ampersand-state.js", "repository": { "type": "git", "url": "git://github.com/ampersandjs/ampersand-state" }, "scripts": { "start": "zuul --local -- test/index.js", "test": "zuul --phantom -- test/index.js", "test-ci": "zuul -- test/index.js", "coverage": "rm -rf coverage && istanbul cover -- tape test/index.js --verbose", "validate": "npm ls", "lint": "jshint ampersand-state.js ./test/*", "benchmark": "for f in benchmark/*.js; do node --allow-natives-syntax --trace-deopt $f; done", "preversion": "git checkout master && git pull && npm ls", "publish-patch": "npm run preversion && npm version patch && git push origin master --tags && npm publish", "publish-minor": "npm run preversion && npm version minor && git push origin master --tags && npm publish", "publish-major": "npm run preversion && npm version major && git push origin master --tags && npm publish", "coveralls": "cat ./coverage/lcov.info | coveralls" }, "pre-commit": [ "lint", "validate", "test" ] }