2016-11-29 20:14:10 +03:00
|
|
|
{
|
2017-01-10 06:45:22 +03:00
|
|
|
"name": "prettier",
|
2017-01-30 20:56:01 +03:00
|
|
|
"version": "0.14.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-01-11 18:40:29 +03:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "git+https://github.com/jlongster/prettier.git"
|
|
|
|
},
|
|
|
|
"author": "James Long",
|
2017-01-14 07:11:03 +03:00
|
|
|
"license": "MIT",
|
2017-01-11 18:40:29 +03:00
|
|
|
"bugs": {
|
|
|
|
"url": "https://github.com/jlongster/prettier/issues"
|
|
|
|
},
|
2016-11-29 23:23:00 +03:00
|
|
|
"main": "./index.js",
|
2016-11-29 20:14:10 +03:00
|
|
|
"dependencies": {
|
2017-01-25 02:08:35 +03:00
|
|
|
"ast-types": "0.9.4",
|
2017-01-23 20:10:51 +03:00
|
|
|
"babel-code-frame": "6.22.0",
|
2017-01-18 20:48:04 +03:00
|
|
|
"babylon": "6.15.0",
|
|
|
|
"esutils": "2.0.2",
|
|
|
|
"flow-parser": "0.38.0",
|
|
|
|
"get-stdin": "5.0.1",
|
2017-01-23 18:37:57 +03:00
|
|
|
"glob": "7.1.1",
|
2017-01-28 18:49:57 +03:00
|
|
|
"jest-validate": "18.2.0",
|
2017-01-21 02:55:24 +03:00
|
|
|
"minimist": "1.2.0"
|
2016-12-23 21:38:10 +03:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2017-01-18 20:48:04 +03:00
|
|
|
"jest": "18.0.0",
|
|
|
|
"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-01-18 20:48:04 +03:00
|
|
|
"rollup-plugin-node-resolve": "2.0.0",
|
|
|
|
"rollup-plugin-real-babili": "1.0.0-alpha3"
|
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-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
|
|
|
}
|
|
|
|
}
|