prettier/package.json

37 lines
835 B
JSON
Raw Normal View History

2016-11-29 20:14:10 +03:00
{
2017-01-10 06:45:22 +03:00
"name": "prettier",
2017-01-11 07:52:36 +03:00
"version": "0.0.4",
"bin": {
"prettier": "./bin/prettier.js"
},
2016-11-29 23:23:00 +03:00
"main": "./index.js",
2016-11-29 20:14:10 +03:00
"dependencies": {
"ast-types": "git+https://github.com/jlongster/ast-types.git",
2017-01-11 01:29:58 +03:00
"babylon": "^6.15.0",
"flow-parser": "^0.37.0",
2016-11-29 20:14:10 +03:00
"minimist": "^1.2.0",
"private": "^0.1.6",
"recast": "^0.11.18",
"source-map": "^0.5.6"
},
"devDependencies": {
"jest": "^18.0.0"
},
"scripts": {
"test": "jest",
2017-01-10 23:45:20 +03:00
"format": "./bin/prettier.js --write",
"format:single": "npm run format -- src/printer.js",
"format:all": "npm run format -- src/*.js bin/*.js"
},
"jest": {
"setupFiles": [
"<rootDir>/tests_config/run_spec.js"
],
"testRegex": "jsfmt\\.spec\\.js$",
"testPathIgnorePatterns": [
"tests/new_react",
"tests/more_react"
]
2016-11-29 20:14:10 +03:00
}
}