Skip to content

Commit

Permalink
Use the NPM package for the native library from the GitHub package re…
Browse files Browse the repository at this point in the history
…gistry instead.
  • Loading branch information
dlemstra committed Feb 18, 2021
1 parent fafa765 commit da08ce6
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 11 deletions.
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@dlemstra:registry=https://npm.pkg.github.com
27 changes: 18 additions & 9 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"test": "jest --bail --runInBand --detectOpenHandles --forceExit --logHeapUsage",
"lint": "eslint src tests --ext .ts",
"demo": "tsc && cd demo && tsc && node demo.js",
"prepare": "cpy ./node_modules/magick-native/magick-Q8.js ./lib/wasm --rename=magick.js && cpy ./node_modules/magick-native/magick-Q8.d.ts ./lib/wasm --rename=magick.d.ts && cpy ./node_modules/magick-native/magick-Q8.js ./src/wasm --rename=magick.js && cpy ./node_modules/magick-native/magick-Q8.d.ts ./src/wasm --rename=magick.d.ts"
"prepare": "cpy ./node_modules/@dlemstra/magick-native/magick-Q8.js ./lib/wasm --rename=magick.js && cpy ./node_modules/@dlemstra/magick-native/magick-Q8.d.ts ./lib/wasm --rename=magick.d.ts && cpy ./node_modules/@dlemstra/magick-native/magick-Q8.js ./src/wasm --rename=magick.js && cpy ./node_modules/@dlemstra/magick-native/magick-Q8.d.ts ./src/wasm --rename=magick.d.ts"
},
"devDependencies": {
"@types/jest": "^26.0.14",
Expand All @@ -14,7 +14,7 @@
"cpy-cli": "^3.1.1",
"eslint": "^7.9.0",
"jest": "^26.4.0",
"magick-native": "https://dl.dropboxusercontent.com/s/samhzez1zodcdny/magick-native-0.202008.240649.tgz",
"@dlemstra/magick-native": "0.202102.141821",
"ts-jest": "^26.4.0",
"typescript": "^4.0.3"
}
Expand Down

0 comments on commit da08ce6

Please sign in to comment.