UNPKG

2.4 kBJSONView Raw
1{
2 "name": "@cycle/core",
3 "version": "7.0.0",
4 "author": "Andre Staltz",
5 "description": "The Cycle run() function meant to be used with RxJS v4",
6 "license": "MIT",
7 "homepage": "https://cyclejs.github.io",
8 "bugs": "https://github.com/cyclejs/core/issues",
9 "repository": {
10 "type": "git",
11 "url": "https://github.com/cyclejs/core"
12 },
13 "keywords": [
14 "reactive",
15 "framework",
16 "rxjs",
17 "rx",
18 "unidirectional",
19 "mvi",
20 "virtual-dom"
21 ],
22 "main": "lib/index.js",
23 "typings": "lib/index.d.ts",
24 "dependencies": {
25 "@cycle/base": "^4.0.0",
26 "@cycle/rx-adapter": "^3.0.0"
27 },
28 "peerDependencies": {
29 "rx": "*"
30 },
31 "devDependencies": {
32 "babel-preset-es2015": "^6.3.13",
33 "babel-register": "^6.4.3",
34 "babelify": "^7.2.0",
35 "browserify": "12.0.1",
36 "browserify-shim": "3.8.11",
37 "markdox": "0.1.10",
38 "mocha": "2.3.3",
39 "rx": "4.0.7",
40 "sinon": "1.17.2",
41 "testem": "0.9.11",
42 "tslint": "3.6.0",
43 "typescript": "^1.8.7",
44 "typings": "^1.0.4",
45 "uglify-js": "2.5.0"
46 },
47 "engines": {
48 "node": ">=0.10.0"
49 },
50 "browserify-shim": {
51 "rx": "global:Rx"
52 },
53 "scripts": {
54 "lint": "tslint -c tslint.json src/*.ts",
55 "premocha": "npm run lib",
56 "mocha": "mocha --compilers js:babel-register test",
57 "test": "npm run lint && npm run mocha",
58 "test-browser": "testem",
59 "pretest-browser": "browserify test/cycle.js -t babelify -o test/browser/tests-bundle.js",
60 "posttest-browser": "rm test/browser/tests-bundle.js",
61 "predist": "rm -rf dist/ && mkdirp dist/ && npm run lib && npm run docs",
62 "postdist": "uglifyjs dist/cycle.js -o dist/cycle.min.js",
63 "dist": "browserify lib/index.js -t babelify -t browserify-shim --standalone Cycle --exclude rx -o dist/cycle.js",
64 "docs": "node ./scripts/make-api-docs.js",
65 "prelib": "rm -rf lib/ && mkdirp lib",
66 "lib": "tsc",
67 "prepublish": "npm run lib",
68 "preversion": "npm run dist && git add dist/ && git diff --quiet --exit-code --cached || git commit -a -m 'chore(dist): build dist/'",
69 "version-patch": "npm version patch --message 'chore(version): %s'",
70 "version-minor": "npm version minor --message 'chore(version): %s'",
71 "version-major": "npm version major --message 'chore(version): %s'",
72 "postversion": "npm publish --access=public && node scripts/publish-package-rx-run.js"
73 }
74}