pokemon-showdown-client/package.json
Guangcong Luo 8669bae196 Add tslint
Probably the most controversial change here is that I have a max line
length limit, currently set to 140 columns. Lines that set up a
string buffer, lines involving regexes, and the text parser's replace
chains are excluded from the limit.

PS has otherwise been moving towards a line length limit, it just
hasn't been linter-enforced yet. I worry about contributors being
annoyed by it, especially since it's not like it's handled
automatically by Prettier or something.

Oh well, it's set to "warning" so Travis won't yell about it.
2018-11-15 23:01:03 -06:00

39 lines
1.4 KiB
JSON

{
"name": "pokemon-showdown-client",
"version": "0.11.2",
"author": "Guangcong Luo <guangcongluo@gmail.com> (http://guangcongluo.com)",
"homepage": "https://pokemonshowdown.com",
"license": "AGPL-3.0",
"repository": {
"type": "git",
"url": "https://github.com/Zarel/Pokemon-Showdown-Client.git"
},
"scripts": {
"test": "eslint --config=.eslintrc.js --cache --cache-file=eslint-cache/base js/ && eslint --config=build-tools/.eslintrc.js --cache --cache-file=eslint-cache/build build-tools/update build-tools/build-indexes && tsc && node build && mocha",
"fix": "eslint --config=.eslintrc.js --fix js/ && eslint --config=build-tools/.eslintrc.js --fix build-tools/update build-tools/build-indexes"
},
"dependencies": {
"@babel/cli": "^7.1.2",
"@babel/core": "^7.1.2",
"@babel/plugin-proposal-class-properties": "^7.1.0",
"@babel/plugin-transform-member-expression-literals": "^7.0.0",
"@babel/plugin-transform-property-literals": "^7.0.0",
"@babel/plugin-transform-react-jsx": "^7.0.0",
"@babel/preset-env": "^7.1.0",
"@babel/preset-typescript": "^7.1.0",
"google-auth-library": "^1.5.0",
"image-size": "^0.6.2"
},
"devDependencies": {
"@types/jquery": "^3.3.1",
"@types/mocha": "^5.2.5",
"@types/node": "^8.0.7",
"eslint": "^4.11.0",
"mocha": "^5.2.0",
"preact": "^8.3.1",
"tslint": "^5.11.0",
"typescript": "^3.1.3"
},
"private": true
}