2020-11-19 12:59:12 +08:00
|
|
|
{
|
|
|
|
"name": "godot",
|
|
|
|
"private": true,
|
|
|
|
"version": "1.0.0",
|
2022-08-29 02:27:45 +08:00
|
|
|
"description": "Development and linting setup for Godot's Web platform code",
|
2020-11-19 12:59:12 +08:00
|
|
|
"scripts": {
|
2022-09-17 16:16:34 +08:00
|
|
|
"docs": "jsdoc --template js/jsdoc2rst/ js/engine/engine.js js/engine/config.js js/engine/features.js --destination ''",
|
2023-12-13 04:39:25 +08:00
|
|
|
"lint": "npm run lint:engine && npm run lint:libs && npm run lint:modules && npm run lint:tools && npm run lint:sw && npm run lint:html",
|
2020-11-19 12:59:12 +08:00
|
|
|
"lint:engine": "eslint \"js/engine/*.js\" --no-eslintrc -c .eslintrc.engine.js",
|
2023-12-13 04:39:25 +08:00
|
|
|
"lint:sw": "eslint \"../../misc/dist/html/service-worker.js\" --no-eslintrc -c .eslintrc.sw.js",
|
2020-11-19 12:59:12 +08:00
|
|
|
"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",
|
2022-10-11 19:48:16 +08:00
|
|
|
"lint:html": "eslint \"../../misc/dist/html/*.html\" --no-eslintrc -c .eslintrc.html.js",
|
2023-12-13 04:39:25 +08:00
|
|
|
"format": "npm run format:engine && npm run format:libs && npm run format:modules && npm run format:tools && format:sw && npm run format:html",
|
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-10-11 19:48:16 +08:00
|
|
|
"format:tools": "npm run lint:tools -- --fix",
|
2023-12-13 04:39:25 +08:00
|
|
|
"format:html": "npm run lint:html -- --fix",
|
|
|
|
"format:sw": "npm run lint:sw -- --fix"
|
2020-11-19 12:59:12 +08:00
|
|
|
},
|
|
|
|
"author": "Godot Engine contributors",
|
|
|
|
"license": "MIT",
|
|
|
|
"devDependencies": {
|
2023-08-01 03:35:23 +08:00
|
|
|
"@html-eslint/eslint-plugin": "^0.19.1",
|
|
|
|
"@html-eslint/parser": "^0.19.1",
|
|
|
|
"eslint": "^8.46.0",
|
|
|
|
"eslint-config-airbnb-base": "^15.0.0",
|
|
|
|
"eslint-plugin-import": "^2.28.0",
|
|
|
|
"jsdoc": "^4.0.2",
|
2022-10-11 19:48:16 +08:00
|
|
|
"eslint-plugin-html": "^7.1.0"
|
2020-11-19 12:59:12 +08:00
|
|
|
}
|
|
|
|
}
|