package.json 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. {
  2. "name": "cannon-es",
  3. "version": "0.20.0",
  4. "license": "MIT",
  5. "description": "A lightweight 3D physics engine written in JavaScript.",
  6. "homepage": "https://github.com/schteppe/cannon.js",
  7. "author": "Stefan Hedman <schteppe@gmail.com> (http://steffe.se)",
  8. "contributors": [
  9. "Cody Persinger <codypersinger@gmail.com> (https://github.com/codynova)",
  10. "Marco Fugaro <marco.fugaro@gmail.com> (https://github.com/marcofugaro)"
  11. ],
  12. "keywords": [
  13. "cannon.js",
  14. "cannon",
  15. "physics",
  16. "engine",
  17. "3d"
  18. ],
  19. "main": "./dist/cannon-es.cjs.js",
  20. "module": "./dist/cannon-es.js",
  21. "react-native": "./dist/cannon-es.js",
  22. "types": "./dist/cannon-es.d.ts",
  23. "sideEffects": false,
  24. "files": [
  25. "dist/"
  26. ],
  27. "scripts": {
  28. "prepare": "husky install",
  29. "start": "npx serve",
  30. "prebuild": "rimraf dist",
  31. "build": "npm run typegen && rollup -c",
  32. "prepublishOnly": "npm run build && npm run test",
  33. "typecheck": "tsc --noEmit --emitDeclarationOnly false --strict",
  34. "typegen": "tsc --outFile dist/cannon-es.d.ts",
  35. "generate-docs": "typedoc",
  36. "test": "jest"
  37. },
  38. "repository": {
  39. "type": "git",
  40. "url": "https://github.com/pmndrs/cannon-es.git"
  41. },
  42. "bugs": {
  43. "url": "https://github.com/pmndrs/cannon-es/issues"
  44. },
  45. "devDependencies": {
  46. "@babel/core": "^7.16.5",
  47. "@babel/preset-env": "^7.16.5",
  48. "@babel/preset-typescript": "^7.16.5",
  49. "@rollup/plugin-babel": "^5.3.0",
  50. "@rollup/plugin-json": "^4.1.0",
  51. "@rollup/plugin-node-resolve": "^13.1.1",
  52. "@rollup/plugin-replace": "^3.0.0",
  53. "@types/jest": "^27.0.3",
  54. "@types/node": "^17.0.4",
  55. "husky": "^7.0.4",
  56. "jest": "^27.4.5",
  57. "lint-staged": "^12.1.4",
  58. "prettier": "^2.5.1",
  59. "rimraf": "^3.0.2",
  60. "rollup": "^2.62.0",
  61. "rollup-plugin-filesize": "^9.1.1",
  62. "ts-jest": "^27.1.2",
  63. "ts-node": "^10.4.0",
  64. "typedoc": "^0.22.10",
  65. "typescript": "^4.5.4"
  66. },
  67. "lint-staged": {
  68. "*.{js,json,jsx,ts,tsx,md,yaml,yml}": "prettier --write"
  69. }
  70. }