package.json 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. {
  2. "name": "@tweenjs/tween.js",
  3. "description": "Super simple, fast and easy to use tweening engine which incorporates optimised Robert Penner's equations.",
  4. "version": "18.6.4",
  5. "main": "dist/tween.cjs.js",
  6. "types": "dist/tween.d.ts",
  7. "module": "dist/tween.esm.js",
  8. "files": [
  9. "dist",
  10. "README.md",
  11. "LICENSE"
  12. ],
  13. "homepage": "https://github.com/tweenjs/tween.js",
  14. "repository": {
  15. "type": "git",
  16. "url": "https://github.com/tweenjs/tween.js.git"
  17. },
  18. "bugs": {
  19. "url": "https://github.com/tweenjs/tween.js/issues"
  20. },
  21. "license": "MIT",
  22. "keywords": [
  23. "tween",
  24. "interpolation"
  25. ],
  26. "dependencies": {},
  27. "scripts": {
  28. "dev": "(npm run tsc-watch -- --preserveWatchOutput & p1=$!; npm run rollup-build -- --watch & p2=$!; wait $p1 $p2)",
  29. "build": "rimraf dist .tmp && node scripts/write-version.js && npm run tsc && npm run rollup-build",
  30. "rollup-build": "rollup -c ./rollup.config.js",
  31. "tsc": "tsc",
  32. "tsc-watch": "tsc --watch",
  33. "examples": "npx serve .",
  34. "test": "npm run build && npm run test-unit && npm run test-lint",
  35. "test-unit": "nodeunit test/unit/nodeunitheadless.js",
  36. "test-lint": "npm run prettier -- --check && eslint 'src/**/*.ts'",
  37. "lint": "npm run prettier -- --write && eslint 'src/**/*.ts' --fix",
  38. "prettier": "prettier './**/*.{js,ts,md,json,html,css}'",
  39. "prepare": "npm run build",
  40. "version": "npm test && git add .",
  41. "release:patch": "npm version patch --message 'v%s' && npm publish && npm run _release:push-branch",
  42. "release:minor": "npm version minor --message 'v%s' && npm publish && npm run _release:push-branch",
  43. "release:major": "npm version major --message 'v%s' && npm publish && npm run _release:push-branch",
  44. "_release:push-branch": "git push --follow-tags --set-upstream origin `git rev-parse --abbrev-ref HEAD`"
  45. },
  46. "author": "tween.js contributors (https://github.com/tweenjs/tween.js/graphs/contributors)",
  47. "devDependencies": {
  48. "@typescript-eslint/eslint-plugin": "^3.1.0",
  49. "@typescript-eslint/parser": "^3.1.0",
  50. "eslint": "^7.1.0",
  51. "eslint-config-prettier": "^6.7.0",
  52. "eslint-plugin-prettier": "^3.1.1",
  53. "nodeunit": "^0.11.3",
  54. "prettier": "^2.0.0",
  55. "rimraf": "^3.0.0",
  56. "rollup": "^2.0.0",
  57. "rollup-plugin-dts": "1.4.10",
  58. "tslib": "^1.10.0",
  59. "typescript": "^4.0.0"
  60. }
  61. }