UNPKG

3.96 kBJSONView Raw
1{
2 "name": "xstream",
3 "version": "11.14.0",
4 "description": "An extremely intuitive, small, and fast functional reactive stream library for JavaScript",
5 "main": "index.js",
6 "typings": "index.d.ts",
7 "scripts": {
8 "commit": "git-cz",
9 "changelog": "conventional-changelog --infile CHANGELOG.md --same-file --release-count 0 --preset angular",
10 "lint": "tslint -c tslint.json src/**/*.ts src/extra/*.ts",
11 "premocha": "npm run compile",
12 "mocha": "mocha tests/*.ts tests/**/*.ts --require ts-node/register --exit",
13 "test-types": "tsc tests/types.ts --noEmit",
14 "test": "npm run lint && npm run test-types && npm run mocha && npm run doctest",
15 "doctest": "markdown-doctest",
16 "setup-browser-tests": "browserify browser-tests/index.ts -p [ tsify ] > browser-tests/tests-bundle.js",
17 "teardown-browser-tests": "rm browser-tests/tests-bundle.js",
18 "compile": "tsc -P ./tsconfig.strict.json",
19 "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",
20 "extra-docs": "node tools/make-extras.js && rm EXTRA_DOCS.md && cp markdown/generated-extras.md EXTRA_DOCS.md",
21 "readme": "npm run page-content && cat markdown/readme-title.md .ignore/content.md > README.md",
22 "postreadme": "npm run extra-docs",
23 "predist": "rm -rf dist/ && mkdirp dist/ && npm run compile",
24 "dist": "browserify index.js --standalone xstream | node tools/strip-comments.js > dist/xstream.js",
25 "postdist": "node tools/minify.js",
26 "start": "npm install && npm prune",
27 "check-release": "node tools/check-release.js",
28 "prepublish": "npm run compile",
29 "preversion": "npm run readme && npm test",
30 "version": "npm run readme && npm run dist && git add -A",
31 "postversion": "git push origin master && git push origin --tags && npm publish && npm run update-gh-pages",
32 "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 --force origin gh-pages && git checkout master",
33 "release": "./tools/release-if-necessary.sh",
34 "release-patch": "false",
35 "release-minor": "npm version minor -m \"chore(package): release new version\"",
36 "release-major": "npm version major -m \"chore(package): release new version\""
37 },
38 "repository": {
39 "type": "git",
40 "url": "git+https://github.com/staltz/xstream.git"
41 },
42 "author": "Andre Staltz <andre+npm@staltz.com> (http://andre.staltz.com/)",
43 "license": "MIT",
44 "bugs": {
45 "url": "https://github.com/staltz/xstream/issues"
46 },
47 "homepage": "https://github.com/staltz/xstream#readme",
48 "dependencies": {
49 "globalthis": "^1.0.1",
50 "symbol-observable": "^2.0.3"
51 },
52 "devDependencies": {
53 "@types/globalthis": "^1.0.1",
54 "@types/mocha": "^2.2.40",
55 "@types/node": "^7.0.12",
56 "@types/sinon": "^2.1.2",
57 "assert": "1.3.x",
58 "browserify": "13.0.x",
59 "commitizen": "2.9.x",
60 "conventional-changelog": "1.1.x",
61 "conventional-changelog-cli": "1.2.x",
62 "cz-conventional-changelog": "1.2.x",
63 "es6-promise": "4.0.5",
64 "google-closure-compiler-js": "^20170910.0.0",
65 "markdown-doctest": "0.9.1",
66 "markdox": "0.1.10",
67 "mkdirp": "0.5.1",
68 "mocha": "^5.2.0",
69 "most": "^1.9.0",
70 "sinon": "1.16.0",
71 "strip-comments": "0.4.4",
72 "ts-node": "6.0.x",
73 "tsify": "4.0.x",
74 "tslint": "5.7.0",
75 "typescript": "^3.4.0",
76 "validate-commit-msg": "2.4.x"
77 },
78 "publishConfig": {
79 "access": "public"
80 },
81 "config": {
82 "commitizen": {
83 "path": "./node_modules/cz-conventional-changelog"
84 }
85 }
86}