Skip to content

Commit efdff57

Browse files
Marcellin NshimiyimanaMarcellin Nshimiyimana
Marcellin Nshimiyimana
authored and
Marcellin Nshimiyimana
committed
feat(upgrade): change typescript version to 2.7
use latest version of typescript BREAKING CHANGE: stop using postinstall because it gets called when other devs instll react-mock package from npm
1 parent cbeed4f commit efdff57

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-mock",
3-
"version": "2.0.2",
3+
"version": "4.1.0",
44
"description": "Mocking api calls from React Applications, using Pretenderjs and Fakerjs",
55
"keywords": [],
66
"main": "dist/react-mock.umd.js",
@@ -19,7 +19,7 @@
1919
"node": ">=6.0.0"
2020
},
2121
"scripts": {
22-
"postinstall": "sh custom/postinstall.sh",
22+
"configure": "sh custom/postinstall.sh",
2323
"lint": "tslint -t codeFrame 'src/**/*.ts' 'test/**/*.ts' 'test/src/react-mock/node_modules/*.ts'",
2424
"prebuild": "rimraf dist",
2525
"build": "tsc --module commonjs --outDir dist/lib && rollup -c rollup.config.ts && typedoc --out dist/docs --target es6 --theme minimal --mode file src",
@@ -110,7 +110,7 @@
110110
"tslint-config-prettier": "^1.1.0",
111111
"tslint-config-standard": "^7.0.0",
112112
"typedoc": "^0.11.0",
113-
"typescript": "^2.6.2",
113+
"typescript": "2.7.2",
114114
"validate-commit-msg": "^2.12.2",
115115
"travis-deploy-once": "^5.0.0"
116116
},

0 commit comments

Comments
 (0)