UNPKG

xstream

Version:

An extremely intuitive, small, and fast functional reactive stream library for JavaScript

78 lines (77 loc) 3.59 kB
{ "name": "xstream", "version": "5.3.5", "description": "An extremely intuitive, small, and fast functional reactive stream library for JavaScript", "main": "index.js", "typings": "index.d.ts", "scripts": { "commit": "git-cz", "changelog": "conventional-changelog --infile CHANGELOG.md --same-file --release-count 0 --preset angular", "lint": "tslint -c tslint.json src/**/*.ts", "premocha": "npm run compile", "mocha": "mocha tests/*.ts tests/**/*.ts --require ts-node/register", "postmocha": "rm -rf tests/**/*.js", "test": "npm run lint && npm run mocha && npm run doctest", "doctest": "markdown-doctest", "precompile": "typings install", "compile": "tsc", "page-content": "npm run compile && rm -rf .ignore/ && mkdirp .ignore/ && npm run changelog && node tools/make-toc.js && node tools/make-factories.js && node tools/make-methods.js && cat markdown/header.md markdown/generated-toc.md markdown/overview.md markdown/generated-factories.md markdown/generated-methods.md markdown/footer.md > .ignore/content.md", "extra-docs": "node tools/make-extras.js && rm EXTRA_DOCS.md && cp markdown/generated-extras.md EXTRA_DOCS.md", "readme": "npm run page-content && cat markdown/readme-title.md .ignore/content.md > README.md", "postreadme": "npm run extra-docs", "predist": "rm -rf dist/ && mkdirp dist/ && npm run compile", "dist": "browserify index.js --standalone xstream | node tools/strip-comments.js > dist/xstream.js", "postdist": "uglifyjs dist/xstream.js -o dist/xstream.min.js", "start": "npm install && npm prune", "check-release": "node tools/check-release.js", "prepublish": "npm run compile", "preversion": "npm run readme && npm test", "version": "npm run readme && npm run dist && git add -A", "postversion": "git push origin master && git push origin --tags && npm publish && npm run update-gh-pages", "update-gh-pages": "git checkout gh-pages && rm _includes/content.md && cp .ignore/content.md _includes/ && git add --all && if git diff --cached --quiet > /dev/null; then :; else git commit -m \"update site\"; fi && git push origin gh-pages && git checkout master", "release": "./tools/release-if-necessary.sh", "release-patch": "npm version patch -m \"chore(package): release new version\"", "release-minor": "npm version minor -m \"chore(package): release new version\"", "release-major": "npm version major -m \"chore(package): release new version\"" }, "repository": { "type": "git", "url": "git+https://github.com/staltz/xstream.git" }, "author": "Andre Staltz <andre+npm@staltz.com> (http://andre.staltz.com/)", "license": "MIT", "bugs": { "url": "https://github.com/staltz/xstream/issues" }, "homepage": "https://github.com/staltz/xstream#readme", "dependencies": {}, "devDependencies": { "assert": "^1.3.0", "browserify": "^13.0.0", "commitizen": "^2.7.3", "conventional-changelog": "^1.1.0", "conventional-changelog-cli": "^1.1.1", "cz-conventional-changelog": "^1.1.5", "es6-promise": "^3.1.2", "markdown-doctest": "^0.7.0", "markdox": "^0.1.10", "mkdirp": "^0.5.1", "mocha": "^2.4.5", "sinon": "^1.16.0", "strip-comments": "^0.4.4", "ts-node": "^0.9.0", "tslint": "^3.6.0", "typescript": "^1.8.9", "typings": "^1.0.4", "uglify-js": "^2.6.2", "validate-commit-msg": "^2.4.0" }, "publishConfig": { "access": "public" }, "config": { "commitizen": { "path": "./node_modules/cz-conventional-changelog" } } }