2020-11-19 12:59:12 +08:00
|
|
|
{
|
|
|
|
"name": "godot",
|
|
|
|
"private": true,
|
|
|
|
"version": "1.0.0",
|
2022-01-20 06:49:29 +08:00
|
|
|
"description": "Development and linting setup for Godot's HTML5 platform code",
|
2020-11-19 12:59:12 +08:00
|
|
|
"scripts": {
|
2021-02-22 13:10:16 +08:00
|
|
|
"docs": "jsdoc --template js/jsdoc2rst/ js/engine/engine.js js/engine/config.js --destination ''",
|
|
|
|
"lint": "npm run lint:engine && npm run lint:libs && npm run lint:modules && npm run lint:tools",
|
2020-11-19 12:59:12 +08:00
|
|
|
"lint:engine": "eslint \"js/engine/*.js\" --no-eslintrc -c .eslintrc.engine.js",
|
|
|
|
"lint:libs": "eslint \"js/libs/*.js\" --no-eslintrc -c .eslintrc.libs.js",
|
|
|
|
"lint:modules": "eslint \"../../modules/**/*.js\" --no-eslintrc -c .eslintrc.libs.js",
|
2021-02-22 13:10:16 +08:00
|
|
|
"lint:tools": "eslint \"js/jsdoc2rst/**/*.js\" --no-eslintrc -c .eslintrc.engine.js",
|
|
|
|
"format": "npm run format:engine && npm run format:libs && npm run format:modules && npm run format:tools",
|
2020-11-19 12:59:12 +08:00
|
|
|
"format:engine": "npm run lint:engine -- --fix",
|
|
|
|
"format:libs": "npm run lint:libs -- --fix",
|
2021-02-22 13:10:16 +08:00
|
|
|
"format:modules": "npm run lint:modules -- --fix",
|
2022-01-20 06:49:29 +08:00
|
|
|
"format:tools": "npm run lint:tools -- --fix",
|
|
|
|
"serve": "serve"
|
2020-11-19 12:59:12 +08:00
|
|
|
},
|
|
|
|
"author": "Godot Engine contributors",
|
|
|
|
"license": "MIT",
|
|
|
|
"devDependencies": {
|
2021-06-14 19:42:03 +08:00
|
|
|
"eslint": "^7.28.0",
|
|
|
|
"eslint-config-airbnb-base": "^14.2.1",
|
|
|
|
"eslint-plugin-import": "^2.23.4",
|
2022-01-20 06:49:29 +08:00
|
|
|
"jsdoc": "^3.6.7",
|
|
|
|
"serve": "^13.0.2"
|
2020-11-19 12:59:12 +08:00
|
|
|
}
|
|
|
|
}
|