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