Skip to content

Commit

Permalink
bugfix: patch-package fails on install (#181)
Browse files Browse the repository at this point in the history
* Use patch-package via npx

* v1.28.3

Co-authored-by: Troy Alford <[email protected]>
  • Loading branch information
TroyAlford and Troy Alford authored Feb 8, 2021
1 parent bec2ef0 commit e854bdd
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,12 @@
"types": "dist/index.d.ts",
"name": "react-jsx-parser",
"repository": "TroyAlford/react-jsx-parser",
"version": "1.28.2",
"version": "1.28.3",
"dependencies": {
"@types/jsdom": "^16.2.6",
"acorn": "^8.0.5",
"acorn-jsx": "^5.3.1",
"core-js": "^3.8.3",
"patch-package": "^6.2.2"
"core-js": "^3.8.3"
},
"devDependencies": {
"@babel/core": "^7.12.13",
Expand Down Expand Up @@ -77,9 +76,9 @@
"merge": "^1.2.1"
},
"scripts": {
"build": "yarn patch-package && yarn types && cross-env NODE_ENV=production webpack",
"build": "npx patch-package && yarn types && cross-env NODE_ENV=production webpack",
"develop": "NODE_ENV=production concurrently -n build,ts,demo -c green,cyan,yellow \"yarn webpack --watch\" \"yarn types --watch\" \"yarn webpack serve --config ./webpack.demo.js\"",
"postinstall": "yarn patch-package",
"postinstall": "npx patch-package",
"prebuild": "mkdirp ./dist && rm -rf ./dist/*",
"sourcemap": "yarn build && source-map-explorer ./dist/es5/react-jsx-parser.min.js",
"test": "jest",
Expand Down

0 comments on commit e854bdd

Please sign in to comment.