2016-11-29 12:14:10 -05:00
|
|
|
{
|
2017-01-09 22:45:22 -05:00
|
|
|
"name": "prettier",
|
2017-05-03 14:41:25 -07:00
|
|
|
"version": "1.3.1",
|
2017-01-19 07:00:45 -08:00
|
|
|
"description": "Prettier is an opinionated JavaScript formatter",
|
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-03-13 16:39:54 -05:00
|
|
|
"repository": "prettier/prettier",
|
2017-01-11 15:40:29 +00:00
|
|
|
"author": "James Long",
|
2017-01-13 21:11:03 -07:00
|
|
|
"license": "MIT",
|
2016-11-29 15:23:00 -05:00
|
|
|
"main": "./index.js",
|
2016-11-29 12:14:10 -05:00
|
|
|
"dependencies": {
|
2017-03-20 09:42:07 -07:00
|
|
|
"ast-types": "0.9.8",
|
2017-01-23 18:10:51 +01:00
|
|
|
"babel-code-frame": "6.22.0",
|
2017-04-04 16:21:56 -05:00
|
|
|
"babylon": "7.0.0-beta.8",
|
2017-02-07 23:03:48 +04:00
|
|
|
"chalk": "1.1.3",
|
2017-01-18 09:48:04 -08:00
|
|
|
"esutils": "2.0.2",
|
2017-04-27 14:59:18 -07:00
|
|
|
"flow-parser": "0.45.0",
|
2017-01-18 09:48:04 -08:00
|
|
|
"get-stdin": "5.0.1",
|
2017-01-23 16:37:57 +01:00
|
|
|
"glob": "7.1.1",
|
2017-05-06 16:40:40 +02:00
|
|
|
"jest-validate": "20.0.0",
|
2017-01-20 18:55:24 -05:00
|
|
|
"minimist": "1.2.0"
|
2016-12-23 13:38:10 -05:00
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
2017-02-21 13:59:19 -08:00
|
|
|
"diff": "3.2.0",
|
2017-05-06 16:40:40 +02:00
|
|
|
"jest": "20.0.0",
|
2017-04-08 16:52:38 +02:00
|
|
|
"mkdirp": "^0.5.1",
|
|
|
|
|
"rimraf": "^2.6.1",
|
2017-01-18 09:48:04 -08:00
|
|
|
"rollup": "0.41.1",
|
|
|
|
|
"rollup-plugin-commonjs": "7.0.0",
|
2017-01-23 18:10:51 +01:00
|
|
|
"rollup-plugin-json": "2.1.0",
|
2017-01-18 09:48:04 -08:00
|
|
|
"rollup-plugin-node-builtins": "2.0.0",
|
2017-01-23 18:10:51 +01:00
|
|
|
"rollup-plugin-node-globals": "1.1.0",
|
2017-03-08 21:18:13 +00:00
|
|
|
"rollup-plugin-node-resolve": "2.0.0",
|
2017-05-01 10:41:19 +10:00
|
|
|
"typescript": "2.3.2",
|
2017-05-21 16:53:00 +02:00
|
|
|
"typescript-eslint-parser": "git://github.com/eslint/typescript-eslint-parser.git#3f9f41c7d8bcdaa3fbd68767e390f07f05555c3a"
|
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-13 11:23:07 -08:00
|
|
|
"format:all": "npm run format -- index.js src/*.js bin/*.js",
|
2017-01-11 10:22:12 -08:00
|
|
|
"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-04-12 13:41:51 -07:00
|
|
|
"snapshotSerializers": [
|
|
|
|
|
"<rootDir>/tests_config/raw-serializer.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",
|
2017-05-10 23:11:50 +02:00
|
|
|
"tests/more_react",
|
2017-05-20 12:15:50 +02:00
|
|
|
|
|
|
|
|
"see https://github.com/eslint/typescript-eslint-parser/issues/269",
|
2017-05-21 16:53:00 +02:00
|
|
|
"tests/typescript/conformance/types/abstractKeyword/jsfmt.spec.js"
|
2016-12-23 19:31:38 +00:00
|
|
|
]
|
2016-11-29 12:14:10 -05:00
|
|
|
}
|
|
|
|
|
}
|