react-calendar-timeline
Advanced tools
Comparing version 0.16.0-beta.3 to 0.16.0-beta.4
{ | ||
"name": "react-calendar-timeline", | ||
"version": "0.16.0-beta.3", | ||
"version": "0.16.0-beta.4", | ||
"description": "react calendar timeline", | ||
@@ -10,5 +10,3 @@ "main": "lib/index.js", | ||
"build:demo": "echo '!!! Building Demo' && cross-env NODE_ENV=production webpack --progress", | ||
"build:lib": "echo '!!! Building Library' && cross-env NODE_ENV=production babel src --out-dir lib && node-sass src/lib/Timeline.scss lib/lib/Timeline.css && sed -i'.bak' 's/Timeline\\.scss/Timeline\\.css/g' lib/lib/Timeline.js && rm lib/lib/Timeline.js.bak", | ||
"jest": "jest", | ||
"jest:update": "jest -u", | ||
"build:lib": "echo '!!! Building Library' && rimraf lib && cross-env NODE_ENV=production babel src --out-dir lib && node-sass src/lib/Timeline.scss lib/Timeline.css && sed -i'.bak' 's/Timeline\\.scss/Timeline\\.css/g' lib/lib/Timeline.js && rm lib/lib/Timeline.js.bak", | ||
"lint": "eslint --ext .js --ext .jsx ./src", | ||
@@ -18,3 +16,3 @@ "lint:fix": "prettier-eslint --parser babylon --write \"src/**/*.js\"", | ||
"start": "webpack-dev-server --hot --host 0.0.0.0 --display-modules", | ||
"test": "npm run build:lib && npm run jest && npm run lint" | ||
"test": "jest" | ||
}, | ||
@@ -66,7 +64,12 @@ "files": [ | ||
], | ||
"moduleNameMapper": { | ||
"^.+\\.(css|scss)$": "<rootDir>/src/mocks/styleMock.js" | ||
}, | ||
"collectCoverageFrom": [ | ||
"src/**/*.{js,jsx}" | ||
], | ||
"modulePaths": [ | ||
"<rootDir>/src/", | ||
"<rootDir>/__tests__" | ||
], | ||
"testPathIgnorePatterns": [ | ||
"<rootDir>/node_modules", | ||
"<rootDir>/__tests__/test-utility" | ||
] | ||
@@ -124,3 +127,3 @@ }, | ||
"react-test-renderer": "^15.5.0", | ||
"rimraf": "^2.5.0", | ||
"rimraf": "^2.6.2", | ||
"sass-loader": "~4.0.2", | ||
@@ -127,0 +130,0 @@ "style-loader": "~0.13.0", |
@@ -692,7 +692,7 @@ # React Calendar Timeline | ||
$ cd react-calendar-timeline | ||
$ npm install | ||
$ npm start | ||
$ yarn | ||
$ yarn start | ||
``` | ||
Check http://0.0.0.0:8080/ in your browser and have fun! | ||
Check http://0.0.0.0:8888/ in your browser and have fun! | ||
@@ -699,0 +699,0 @@ Please run `npm run lint` before you send a pull request. `npm run jest` runs the tests. |
295785
44
6497