feat: better code formatting
This commit is contained in:
97
package.json
97
package.json
@@ -1,59 +1,42 @@
|
||||
{
|
||||
"name": "screeps-typescript-starter",
|
||||
"version": "3.0.0",
|
||||
"description": "",
|
||||
"scripts": {
|
||||
"build": "node esbuild.config.mjs",
|
||||
"push:main": "npm run build && screeps-api --server main upload dist/*.js",
|
||||
"push:sim": "npm run build && screeps-api --server main upload --branch sim dist/*.js",
|
||||
"push:local": "npm run build && screeps-api --server local upload dist/*.js",
|
||||
"format": "prettier --config .prettierrc 'src/**/*.ts' --write && eslint --fix src/"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/screepers/screeps-typescript-starter.git"
|
||||
},
|
||||
"author": "",
|
||||
"license": "Unlicense",
|
||||
"bugs": {
|
||||
"url": "https://github.com/screepers/screeps-typescript-starter/issues"
|
||||
},
|
||||
"homepage": "https://github.com/screepers/screeps-typescript-starter#readme",
|
||||
"devDependencies": {
|
||||
"@eslint/eslintrc": "^3.3.1",
|
||||
"@eslint/js": "^9.30.1",
|
||||
"@rollup/plugin-commonjs": "^28.0.6",
|
||||
"@rollup/plugin-node-resolve": "^16.0.1",
|
||||
"@types/chai": "^5.2.2",
|
||||
"@types/lodash": "4.17.20",
|
||||
"@types/mocha": "^10.0.10",
|
||||
"@types/node": "^24.0.10",
|
||||
"@types/screeps": "^3.3.8",
|
||||
"@types/sinon": "^17.0.4",
|
||||
"@types/sinon-chai": "^4.0.0",
|
||||
"@typescript-eslint/eslint-plugin": "^8.35.1",
|
||||
"@typescript-eslint/parser": "^8.35.1",
|
||||
"@typescript-eslint/typescript-estree": "^8.35.1",
|
||||
"chai": "^5.2.0",
|
||||
"esbuild": "^0.25.5",
|
||||
"eslint": "^9.30.1",
|
||||
"eslint-config-prettier": "^10.1.5",
|
||||
"eslint-import-resolver-typescript": "^4.4.4",
|
||||
"eslint-plugin-import": "^2.32.0",
|
||||
"eslint-plugin-prettier": "^5.5.1",
|
||||
"globals": "^16.3.0",
|
||||
"lodash": "^4.17.21",
|
||||
"mocha": "^11.7.1",
|
||||
"prettier": "^3.6.2",
|
||||
"screeps-api": "^1.7.2",
|
||||
"shelljs": "^0.10.0",
|
||||
"sinon": "^21.0.0",
|
||||
"sinon-chai": "^4.0.0",
|
||||
"ts-node": "^10.9.2",
|
||||
"tsconfig-paths": "^4.2.0",
|
||||
"typescript": "^5.8.3"
|
||||
},
|
||||
"dependencies": {
|
||||
"source-map": "~0.7.4"
|
||||
}
|
||||
"name": "hideyoshi-screeps",
|
||||
"version": "0.0.0",
|
||||
"description": "Personal Screeps codebase for Hideyoshi",
|
||||
"scripts": {
|
||||
"build": "node esbuild.config.mjs",
|
||||
"push:main": "npm run build && screeps-api --server main upload dist/*.js",
|
||||
"push:sim": "npm run build && screeps-api --server main upload --branch sim dist/*.js",
|
||||
"push:local": "npm run build && screeps-api --server local upload dist/*.js",
|
||||
"format": "prettier --check --ignore-path .gitignore .",
|
||||
"format:fix": "prettier --write --ignore-path .gitignore ."
|
||||
},
|
||||
"dependencies": {
|
||||
"@trivago/prettier-plugin-sort-imports": "^6.0.2",
|
||||
"@types/screeps": "^3.3.8",
|
||||
"dotenv": "^17.4.2",
|
||||
"esbuild": "^0.28.0",
|
||||
"prettier": "^3.8.3",
|
||||
"ts-node": "^10.9.2",
|
||||
"typescript": "^6.0.3",
|
||||
"zod": "^4.3.6"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^25.6.0"
|
||||
},
|
||||
"prettier": {
|
||||
"trailingComma": "es5",
|
||||
"semi": true,
|
||||
"tabWidth": 4,
|
||||
"useTabs": false,
|
||||
"singleQuote": true,
|
||||
"jsxSingleQuote": true,
|
||||
"plugins": [
|
||||
"@trivago/prettier-plugin-sort-imports"
|
||||
],
|
||||
"importOrderParserPlugins": [
|
||||
"typescript",
|
||||
"jsx",
|
||||
"decorators-legacy"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user