package.json 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. {
  2. "name": "ndarray-lanczos",
  3. "version": "0.3.0",
  4. "description": "Resize an ndarray with Lanczos resampling",
  5. "type": "module",
  6. "sideEffects": false,
  7. "source": "./src/index.ts",
  8. "types": "./dist/src/index.d.ts",
  9. "main": "./dist/ndarray-lanczos.cjs",
  10. "module": "./dist/ndarray-lanczos.modern.js",
  11. "exports": {
  12. "types": "./dist/src/index.d.ts",
  13. "require": "./dist/ndarray-lanczos.cjs",
  14. "default": "./dist/ndarray-lanczos.modern.js"
  15. },
  16. "repository": "github:donmccurdy/ndarray-lanczos",
  17. "author": "Don McCurdy <dm@donmccurdy.com>",
  18. "license": "MIT",
  19. "scripts": {
  20. "dist": "microbundle --format modern,cjs --define PACKAGE_VERSION=$npm_package_version",
  21. "watch": "microbundle watch --format modern,cjs --define PACKAGE_VERSION=$npm_package_version",
  22. "watch:debug": "microbundle watch --no-compress --format modern,cjs --define PACKAGE_VERSION=$npm_package_version",
  23. "clean": "rimraf dist/*",
  24. "test": "ava test/*.test.ts",
  25. "coverage": "c8 --reporter=lcov --reporter=text ava test/*.test.ts --tap",
  26. "coverage:report": "c8 report --reporter=text-lcov > coverage/coverage.lcov",
  27. "preversion": "yarn clean && yarn dist && yarn test",
  28. "version": "yarn dist && git add -u",
  29. "postversion": "git push && git push --tags && npm publish && yarn coverage:report"
  30. },
  31. "devDependencies": {
  32. "@types/tape": "4.13.2",
  33. "@typescript-eslint/eslint-plugin": "5.53.0",
  34. "ava": "^5.2.0",
  35. "c8": "^7.13.0",
  36. "coveralls": "3.1.1",
  37. "eslint": "8.34.0",
  38. "microbundle": "0.15.1",
  39. "ndarray-pixels": "2.0.0",
  40. "rimraf": "^4.1.2",
  41. "ts-node": "10.9.1",
  42. "typescript": "4.9.5"
  43. },
  44. "files": [
  45. "dist/",
  46. "src/",
  47. "vendor/",
  48. "README.md",
  49. "LICENSE",
  50. "package.json"
  51. ],
  52. "dependencies": {
  53. "@types/ndarray": "^1.0.11",
  54. "ndarray": "^1.0.19"
  55. },
  56. "ava": {
  57. "extensions": {
  58. "ts": "module"
  59. },
  60. "nodeArguments": [
  61. "--loader=ts-node/esm"
  62. ]
  63. }
  64. }