forked from staltz/xstream
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
80 lines (80 loc) · 3.53 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
{
"name": "xstream",
"version": "7.0.0",
"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 src/extra/*.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": "false",
"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": {
"symbol-observable": "^1.0.2"
},
"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",
"most": "^1.0.3",
"sinon": "^1.16.0",
"strip-comments": "^0.4.4",
"ts-node": "^0.9.0",
"tslint": "^3.6.0",
"typescript": "^2.0.3",
"typings": "^1.4.0",
"uglify-js": "^2.6.2",
"validate-commit-msg": "^2.4.0"
},
"publishConfig": {
"access": "public"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}