Skip to content

Commit

Permalink
feat(library): create first functional version
Browse files Browse the repository at this point in the history
provide a redux store enhancer allowing you to return declarative side effects from your reducers in
the _fx field
  • Loading branch information
Matthieu Beteille committed Oct 20, 2017
1 parent 8bf4741 commit 47d73a7
Showing 1 changed file with 20 additions and 12 deletions.
32 changes: 20 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
{
"name": "redux-data-fx",
"version": "0.0.0",
"version": "0.0.0-development",
"description": "",
"keywords": [],
"main": "dist/redux-data-fx.umd.js",
"module": "dist/redux-data-fx.es5.js",
"typings": "dist/types/redux-data-fx.d.ts",
"files": ["dist"],
"files": [
"dist"
],
"author": "Matthieu Béteille <[email protected]>",
"repository": {
"type": "git",
Expand All @@ -19,19 +21,19 @@
"scripts": {
"lint": "tslint -t codeFrame 'src/**/*.ts' 'test/**/*.ts'",
"prebuild": "rimraf dist",
"build":
"tsc && rollup -c rollup.config.ts && rimraf compiled && typedoc --out dist/docs --target es6 --theme minimal src",
"build": "tsc && rollup -c rollup.config.ts && rimraf compiled && typedoc --out dist/docs --target es6 --theme minimal src",
"start": "tsc -w & rollup -c rollup.config.ts -w",
"test": "jest",
"test:watch": "jest --watch",
"test:prod": "npm run lint && npm run test -- --coverage --no-cache",
"deploy-docs": "ts-node tools/gh-pages-publish",
"report-coverage": "cat ./coverage/lcov.info | coveralls",
"commit": "git-cz",
"semantic-release":
"semantic-release pre && npm publish && semantic-release post",
"semantic-release": "semantic-release pre && npm publish && semantic-release post",
"semantic-release-prepare": "ts-node tools/semantic-release-prepare",
"precommit": "lint-staged"
"precommit": "lint-staged",
"prepush": "npm run test:prod && npm run build",
"commitmsg": "validate-commit-msg"
},
"lint-staged": {
"{src,test}/**/*.ts": [
Expand All @@ -45,17 +47,23 @@
},
"validate-commit-msg": {
"types": "conventional-commit-types",
"helpMessage":
"Use \"npm run commit\" instead, we use conventional-changelog format :) (https://github.com/commitizen/cz-cli)"
"helpMessage": "Use \"npm run commit\" instead, we use conventional-changelog format :) (https://github.com/commitizen/cz-cli)"
}
},
"jest": {
"transform": {
".(ts|tsx)": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"moduleFileExtensions": ["ts", "tsx", "js"],
"coveragePathIgnorePatterns": ["/node_modules/", "/test/"],
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"coveragePathIgnorePatterns": [
"/node_modules/",
"/test/"
],
"coverageThreshold": {
"global": {
"branches": 90,
Expand Down Expand Up @@ -87,7 +95,7 @@
"rollup-plugin-commonjs": "^8.0.2",
"rollup-plugin-node-resolve": "^3.0.0",
"rollup-plugin-sourcemaps": "^0.4.2",
"semantic-release": "^8.0.0",
"semantic-release": "^8.2.0",
"ts-jest": "^21.0.0",
"ts-node": "^3.0.6",
"tslint": "^5.4.3",
Expand Down

0 comments on commit 47d73a7

Please sign in to comment.