Skip to content

Commit

Permalink
fix(build): fix library name
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthieu Beteille committed Oct 20, 2017
1 parent 47d73a7 commit 70c2839
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 20 deletions.
32 changes: 13 additions & 19 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@
"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 <matthieu.beteille@gmail.com>",
"repository": {
"type": "git",
Expand All @@ -21,15 +19,17 @@
"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",
"prepush": "npm run test:prod && npm run build",
Expand All @@ -47,29 +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,
"functions": 95,
"lines": 95,
"statements": 95
"branches": 80,
"functions": 80,
"lines": 80,
"statements": 80
}
},
"collectCoverage": true,
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion test/data-fx.test.ts → test/redux-data-fx.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { reduxDataFX, EnhancedStore } from '../src/library'
import { reduxDataFX, EnhancedStore } from '../src/redux-data-fx'
import { createStore, applyMiddleware } from 'redux'
import _ from 'lodash'

Expand Down

0 comments on commit 70c2839

Please sign in to comment.