Skip to content

Commit

Permalink
Update flawed install script (#31)
Browse files Browse the repository at this point in the history
* Update flawed install script.

* Move typescript and node types to dev dependencies.
  • Loading branch information
justinkambic committed Apr 22, 2021
1 parent 39cd80a commit f439940
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 deletions.
16 changes: 9 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,16 @@
"license": "LGPL-2.1",
"gypfile": true,
"dependencies": {
"@types/node": "^14.14.7",
"node-addon-api": "^3.0.0",
"node-pre-gyp": "^0.16.0",
"node-pre-gyp-github": "^1.4.3",
"typescript": "^4.1.2"
"node-pre-gyp-github": "^1.4.3"
},
"devDependencies": {
"@babel/core": "^7.12.9",
"@babel/preset-env": "^7.12.7",
"@babel/preset-typescript": "^7.12.7",
"@types/jest": "^26.0.15",
"@types/node": "^14.14.41",
"@typescript-eslint/eslint-plugin": "^4.8.2",
"@typescript-eslint/parser": "^4.8.2",
"babel-jest": "^26.6.3",
Expand All @@ -27,7 +26,8 @@
"jest": "^26.6.3",
"prettier": "^2.2.0",
"typedoc": "^0.20.25",
"typedoc-plugin-markdown": "^3.5.0"
"typedoc-plugin-markdown": "^3.5.0",
"typescript": "^4.2.4"
},
"engines": {
"node": ">=10.24.0 <=15.11.0"
Expand All @@ -38,7 +38,7 @@
"format-check": "prettier --check .",
"generate-docs": "typedoc --plugin typedoc-plugin-markdown --hideBreadcrumbs true --tsconfig ./tsconfig.json ./src/libraw.ts && rm ./docs/README.md",
"lint": "eslint . --ext .ts",
"install": "node-pre-gyp install --fallback-to-build && tsc",
"install": "node-pre-gyp install --fallback-to-build",
"test": "jest",
"test-watch": "jest --watch"
},
Expand Down

0 comments on commit f439940

Please sign in to comment.