зеркало из https://github.com/mozilla/reflex.git
Update package configuration.
This commit is contained in:
Родитель
3b78058059
Коммит
bf72b41d33
|
@ -4,7 +4,7 @@
|
|||
.*/node_modules/tap/*
|
||||
.*/node_modules/json5/test/*
|
||||
.*/node_modules/kefir/*
|
||||
|
||||
.*/node_modules/documentation/*
|
||||
|
||||
[libs]
|
||||
|
||||
|
|
14
Readme.md
14
Readme.md
|
@ -1,4 +1,4 @@
|
|||
# reflex [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Gitter][gitter-image]][gitter-url]
|
||||
# reflex [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Gitter][gitter-image]][gitter-url] [![styled with prettier][prettier.icon]][prettier]
|
||||
|
||||
|
||||
Reflex is a functional reactive UI library that is heavily inspired by (pretty much is a port of) [elm][] and it's amazingly simple yet powerful [architecture][elm architecture] where "[flux][]" in [react][] terms is simply a byproduct of a pattern. In order to keep a major attraction of [elm][] — [algebraic data types][] & type safety — the library uses [flow][], a static type checker for JS. All types are separated from implementation though, so it's your call if you want to take take advantage of it or just ignore it.
|
||||
|
@ -20,14 +20,16 @@ For examples check out examples directory of either [virtual-dom][virtual-dom-dr
|
|||
[flux]:https://facebook.github.io/flux/
|
||||
[algebraic data types]:https://en.wikipedia.org/wiki/Algebraic_data_type
|
||||
[flow]:http://flowtype.org
|
||||
[virtual-dom-driver]:https://github.com/Gozala/reflex-virtual-dom-driver
|
||||
[react-driver]:https://github.com/Gozala/reflex-react-driver
|
||||
[virtual-dom-driver]:https://github.com/mozilla/reflex-virtual-dom-driver
|
||||
[react-driver]:https://github.com/mozilla/reflex-react-driver
|
||||
|
||||
[npm-url]: https://npmjs.org/package/reflex
|
||||
[npm-image]: https://img.shields.io/npm/v/reflex.svg?style=flat
|
||||
|
||||
[travis-url]: https://travis-ci.org/Gozala/reflex
|
||||
[travis-image]: https://img.shields.io/travis/Gozala/reflex.svg?style=flat
|
||||
[travis-url]: https://travis-ci.org/mozilla/reflex
|
||||
[travis-image]: https://img.shields.io/travis/mozilla/reflex.svg?style=flat
|
||||
|
||||
[gitter-url]: https://gitter.im/Gozala/reflex?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge
|
||||
[gitter-url]: https://gitter.im/mozilla/reflex?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge
|
||||
[gitter-image]: https://badges.gitter.im/Join%20Chat.svg
|
||||
[prettier.icon]:https://img.shields.io/badge/styled_with-prettier-ff69b4.svg
|
||||
[prettier]:https://github.com/prettier/prettier
|
36
package.json
36
package.json
|
@ -1,6 +1,5 @@
|
|||
{
|
||||
"name": "reflex",
|
||||
"id": "reflex",
|
||||
"version": "0.4.1",
|
||||
"description": "Functional reactive UI library",
|
||||
"keywords": [
|
||||
|
@ -10,37 +9,38 @@
|
|||
"UI"
|
||||
],
|
||||
"author": "Irakli Gozalishvili <rfobic@gmail.com> (http://jeditoolkit.com)",
|
||||
"homepage": "https://github.com/Gozala/reflex",
|
||||
"main": "./index.js",
|
||||
"main": "reflex",
|
||||
"devDependencies": {
|
||||
"babel-cli": "6.24.1",
|
||||
"babel-plugin-transform-class-properties": "6.24.1",
|
||||
"babel-plugin-transform-es2015-modules-commonjs": "6.24.1",
|
||||
"babel-preset-flow": "6.23.0",
|
||||
"babel-preset-flow-node": "^1.0.2",
|
||||
"babel-register": "6.24.1",
|
||||
"blue-tape": "^1.0.0",
|
||||
"flow-bin": "0.48.0",
|
||||
"flow-copy-source": "1.1.0",
|
||||
"tap": "1.1.0",
|
||||
"tape": "4.4.0"
|
||||
"husky": "^0.14.0",
|
||||
"lint-staged": "^4.0.0",
|
||||
"prettier": "^1.4.4",
|
||||
"documentation": "^4.0.0-rc.1"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "npm run test:flow && npm run test:tape",
|
||||
"test:tape": "tape -r babel-register test/**/*.js",
|
||||
"test:tape": "blue-tape -r babel-register test/**/*.js",
|
||||
"test:flow": "flow check",
|
||||
"build:clear": "rm -rf ./*.js && rm -rf ./*.js.flow",
|
||||
"build:clear": "rm -rf ./*.js && rm -rf ./*.js.flow && rm -rf reflex",
|
||||
"build:types": "flow-copy-source -v src .",
|
||||
"build:node": "babel --out-dir . src",
|
||||
"build:api": "documentation readme --section=API src/reflex.js",
|
||||
"build:docs": "documentation build --document-exported src/** -f html --o docs",
|
||||
"build": "npm run build:node && npm run build:types",
|
||||
"prepublish": "npm run build && npm test",
|
||||
"start": "babel --watch --out-dir . src"
|
||||
"precommit": "lint-staged"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/Gozala/reflex.git",
|
||||
"web": "https://github.com/Gozala/reflex"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "http://github.com/Gozala/reflex/issues/"
|
||||
"lint-staged": {
|
||||
"*.js": [
|
||||
"prettier --parser flow --no-semi --write",
|
||||
"git add"
|
||||
]
|
||||
},
|
||||
"repository": "https://github.com/mozilla/reflex",
|
||||
"license": "MIT"
|
||||
}
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Загрузка…
Ссылка в новой задаче