pokemon-showdown/package.json
Konrad Borowski 156e193bed Only enable certain ES6 features during ESLint test
Currently, only those features are allowed: let/const, classes, and
octal literals. More can be added when needed, as long main Showdown
server has a supporting Node.js's version.

This also accidentally fixes a bug which caused data files to not
be checked for `let`/`const` keyword existence, which would cause
a problem in a web browser.
2015-12-10 23:07:32 +01:00

55 lines
2.3 KiB
JSON

{
"name": "Pokemon-Showdown",
"version": "0.10.2",
"dependencies": {
"sockjs": "0.3.15",
"sugar": "1.4.1"
},
"optionalDependencies": {
"cloud-env": "0.1.1",
"http-proxy": "0.10.0",
"nodemailer": "1.4.0",
"node-static": "0.7.7"
},
"nonDefaultDependencies": {
"ofe": "0.1.2"
},
"engines": {
"node": "> 4.0.0"
},
"main": "app.js",
"scripts": {
"start": "node app.js",
"test": "eslint --config=dev-tools/eslint/config-es6.js --rulesdir=dev-tools/eslint --cache --cache-file=eslint-cache/base *.js config/formats.js chat-plugins/*.js tournaments/*.js dev-tools/**/*.js data/rulesets.js data/scripts.js data/statuses.js mods/*/rulesets.js mods/*/scripts.js mods/*/statuses.js && eslint --config=dev-tools/eslint/config-config.js --rulesdir=dev-tools/eslint --cache --cache-file=eslint-cache/config config/config*.js && eslint --config=dev-tools/eslint/config-compat.js --rulesdir=dev-tools/eslint --cache --cache-file=eslint-cache/compat data/abilities.js data/items.js data/moves.js data/typechart.js data/aliases.js mods/*/abilities.js mods/*/items.js mods/*/moves.js mods/*/typechart.js && eslint --config=dev-tools/eslint/config-data.js --rulesdir=dev-tools/eslint --cache --cache-file=eslint-cache/data data/formats-data.js mods/*/formats-data.js mods/gen4/pokedex.js mods/gen5/pokedex.js && eslint --config=dev-tools/eslint/config-data-compact.js --rulesdir=dev-tools/eslint --cache --cache-file=eslint-cache/data-compact data/pokedex.js mods/gen1/pokedex.js && eslint --config=dev-tools/eslint/config-test.js --rulesdir=dev-tools/eslint --cache --cache-file=eslint-cache/test test/*.js test/application/*.js test/simulator/*/*.js test/dev-tools/*/*.js && mocha"
},
"bin": "./app.js",
"homepage": "http://play.pokemonshowdown.com",
"repository": {
"type": "git",
"url": "https://github.com/Zarel/Pokemon-Showdown.git"
},
"author": {
"name": "Guangcong Luo",
"email": "guangcongluo@gmail.com",
"url": "http://guangcongluo.com"
},
"contributors": [
{
"name": "Cathy J. Fitzpatrick",
"email": "cathy@cathyjf.com",
"url": "https://cathyjf.com"
},
{
"name": "Bill Meltsner",
"email": "bill@meltsner.com",
"url": "http://www.meltsner.com"
}
],
"private": true,
"license": "MIT",
"devDependencies": {
"eslint": "~1.9.0",
"mocha": "~2.3.2"
}
}