package.json 1.2 KB

12345678910111213141516171819202122232425262728
  1. {
  2. "name": "godot",
  3. "private": true,
  4. "version": "1.0.0",
  5. "description": "Development and linting setup for Godot's HTML5 platform code",
  6. "scripts": {
  7. "docs": "jsdoc --template js/jsdoc2rst/ js/engine/engine.js js/engine/config.js --destination ''",
  8. "lint": "npm run lint:engine && npm run lint:libs && npm run lint:modules && npm run lint:tools",
  9. "lint:engine": "eslint \"js/engine/*.js\" --no-eslintrc -c .eslintrc.engine.js",
  10. "lint:libs": "eslint \"js/libs/*.js\" --no-eslintrc -c .eslintrc.libs.js",
  11. "lint:modules": "eslint \"../../modules/**/*.js\" --no-eslintrc -c .eslintrc.libs.js",
  12. "lint:tools": "eslint \"js/jsdoc2rst/**/*.js\" --no-eslintrc -c .eslintrc.engine.js",
  13. "format": "npm run format:engine && npm run format:libs && npm run format:modules && npm run format:tools",
  14. "format:engine": "npm run lint:engine -- --fix",
  15. "format:libs": "npm run lint:libs -- --fix",
  16. "format:modules": "npm run lint:modules -- --fix",
  17. "format:tools": "npm run lint:tools -- --fix"
  18. },
  19. "author": "Godot Engine contributors",
  20. "license": "MIT",
  21. "devDependencies": {
  22. "eslint": "^8.46.0",
  23. "eslint-config-airbnb-base": "^15.0.0",
  24. "eslint-plugin-import": "^2.28.0",
  25. "jsdoc": "^4.0.2"
  26. }
  27. }