2016-11-29 12:14:10 -05:00
|
|
|
{
|
2017-01-09 22:45:22 -05:00
|
|
|
"name": "prettier",
|
2017-01-11 14:09:30 -05:00
|
|
|
"version": "0.0.5",
|
2016-12-23 13:38:10 -05:00
|
|
|
"bin": {
|
2017-01-10 21:18:11 +01:00
|
|
|
"prettier": "./bin/prettier.js"
|
2016-12-23 13:38:10 -05:00
|
|
|
},
|
2017-01-11 15:40:29 +00:00
|
|
|
"repository": {
|
|
|
|
|
"type": "git",
|
|
|
|
|
"url": "git+https://github.com/jlongster/prettier.git"
|
|
|
|
|
},
|
|
|
|
|
"author": "James Long",
|
|
|
|
|
"bugs": {
|
|
|
|
|
"url": "https://github.com/jlongster/prettier/issues"
|
|
|
|
|
},
|
2016-11-29 15:23:00 -05:00
|
|
|
"main": "./index.js",
|
2016-11-29 12:14:10 -05:00
|
|
|
"dependencies": {
|
2016-12-30 15:07:35 -05:00
|
|
|
"ast-types": "git+https://github.com/jlongster/ast-types.git",
|
2017-01-10 17:29:58 -05:00
|
|
|
"babylon": "^6.15.0",
|
2017-01-10 21:48:49 -08:00
|
|
|
"esutils": "^2.0.2",
|
2017-01-10 13:22:11 -05:00
|
|
|
"flow-parser": "^0.37.0",
|
2017-01-11 07:57:16 -08:00
|
|
|
"get-stdin": "^5.0.1",
|
2016-11-29 12:14:10 -05:00
|
|
|
"minimist": "^1.2.0",
|
2017-01-10 13:22:11 -05:00
|
|
|
"private": "^0.1.6",
|
2016-12-30 21:23:50 -05:00
|
|
|
"recast": "^0.11.18",
|
2017-01-10 13:22:11 -05:00
|
|
|
"source-map": "^0.5.6"
|
2016-12-23 13:38:10 -05:00
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
2017-01-11 10:22:12 -08:00
|
|
|
"jest": "^18.0.0",
|
|
|
|
|
"rollup": "^0.41.1",
|
|
|
|
|
"rollup-plugin-commonjs": "^7.0.0",
|
|
|
|
|
"rollup-plugin-node-builtins": "^2.0.0",
|
|
|
|
|
"rollup-plugin-node-resolve": "^2.0.0",
|
|
|
|
|
"rollup-plugin-real-babili": "^1.0.0-alpha3"
|
2016-12-23 19:31:38 +00:00
|
|
|
},
|
|
|
|
|
"scripts": {
|
2016-12-30 23:03:22 -05:00
|
|
|
"test": "jest",
|
2017-01-10 21:45:20 +01:00
|
|
|
"format": "./bin/prettier.js --write",
|
|
|
|
|
"format:single": "npm run format -- src/printer.js",
|
2017-01-11 10:22:12 -08:00
|
|
|
"format:all": "npm run format -- src/*.js bin/*.js",
|
|
|
|
|
"build:docs": "rollup -c docs/rollup.config.js"
|
2016-12-23 19:31:38 +00:00
|
|
|
},
|
|
|
|
|
"jest": {
|
|
|
|
|
"setupFiles": [
|
|
|
|
|
"<rootDir>/tests_config/run_spec.js"
|
|
|
|
|
],
|
2017-01-10 21:51:28 +08:00
|
|
|
"testRegex": "jsfmt\\.spec\\.js$",
|
2016-12-27 13:28:04 -05:00
|
|
|
"testPathIgnorePatterns": [
|
2016-12-30 17:00:11 -05:00
|
|
|
"tests/new_react",
|
|
|
|
|
"tests/more_react"
|
2016-12-23 19:31:38 +00:00
|
|
|
]
|
2016-11-29 12:14:10 -05:00
|
|
|
}
|
|
|
|
|
}
|