package.json 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. {
  2. "name": "sift",
  3. "description": "MongoDB query filtering in JavaScript",
  4. "version": "16.0.0",
  5. "repository": "crcn/sift.js",
  6. "sideEffects": false,
  7. "author": {
  8. "name": "Craig Condon",
  9. "email": "craig.j.condon@gmail.com"
  10. },
  11. "license": "MIT",
  12. "engines": {},
  13. "typings": "./index.d.ts",
  14. "husky": {
  15. "hooks": {
  16. "pre-commit": "pretty-quick --staged"
  17. }
  18. },
  19. "devDependencies": {
  20. "@rollup/plugin-replace": "^2.3.2",
  21. "@rollup/plugin-typescript": "8.2.1",
  22. "@types/node": "^13.7.0",
  23. "bson": "^4.0.3",
  24. "eval": "^0.1.4",
  25. "husky": "^1.2.1",
  26. "immutable": "^3.7.6",
  27. "mocha": "8.3.2",
  28. "mongodb": "^3.6.6",
  29. "prettier": "1.15.3",
  30. "pretty-quick": "^1.11.1",
  31. "rimraf": "^3.0.2",
  32. "rollup": "^2.7.2",
  33. "rollup-plugin-terser": "^7.0.2",
  34. "tslib": "2.2.0",
  35. "typescript": "4.2.4"
  36. },
  37. "main": "./index.js",
  38. "module": "./es5m/index.js",
  39. "es2015": "./es/index.js",
  40. "scripts": {
  41. "clean": "rimraf lib es5m es",
  42. "prebuild": "npm run clean && npm run build:types",
  43. "build": "rollup -c",
  44. "build:types": "tsc -p tsconfig.json --emitDeclarationOnly --outDir lib",
  45. "test": "npm run test:spec && npm run test:types",
  46. "test:spec": "mocha ./test -R spec",
  47. "test:types": "cd test && tsc types.ts --noEmit",
  48. "prepublishOnly": "npm run build && npm run test"
  49. },
  50. "files": [
  51. "es",
  52. "es5m",
  53. "lib",
  54. "src",
  55. "*.d.ts",
  56. "*.js.map",
  57. "index.js",
  58. "sift.csp.min.js",
  59. "sift.min.js",
  60. "MIT-LICENSE.txt"
  61. ]
  62. }