It turns out rollup doesn't use the same algorithm for bundling commonjs files when there are cycles as node, which breaks postcss: https://twitter.com/Rich_Harris/status/869021144191561729. Webpack works just fine with it. This sucks to have this rollup/webpack frankenstein but I really want to be able to release and don't really want to spend yet another day or two trying to make it work well.
71 lines
2.0 KiB
JSON
71 lines
2.0 KiB
JSON
{
|
|
"name": "prettier",
|
|
"version": "1.3.1",
|
|
"description": "Prettier is an opinionated JavaScript formatter",
|
|
"bin": {
|
|
"prettier": "./bin/prettier.js"
|
|
},
|
|
"repository": "prettier/prettier",
|
|
"author": "James Long",
|
|
"license": "MIT",
|
|
"main": "./index.js",
|
|
"dependencies": {
|
|
"babel-code-frame": "6.22.0",
|
|
"babylon": "7.0.0-beta.10",
|
|
"chalk": "1.1.3",
|
|
"esutils": "2.0.2",
|
|
"flow-parser": "0.47.0",
|
|
"get-stdin": "5.0.1",
|
|
"glob": "7.1.1",
|
|
"jest-validate": "20.0.0",
|
|
"minimist": "1.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"cross-spawn": "^5.1.0",
|
|
"diff": "3.2.0",
|
|
"eslint": "^3.19.0",
|
|
"eslint-plugin-prettier": "^2.1.1",
|
|
"jest": "20.0.0",
|
|
"mkdirp": "^0.5.1",
|
|
"postcss": "^6.0.1",
|
|
"postcss-less": "^1.0.0",
|
|
"postcss-media-query-parser": "^0.2.3",
|
|
"postcss-scss": "1.0.0",
|
|
"postcss-selector-parser": "^2.2.3",
|
|
"postcss-values-parser": "git://github.com/shellscape/postcss-values-parser.git#5e351360479116f3fe309602cdd15b0a233bc29f",
|
|
"prettier": "^1.3.1",
|
|
"rimraf": "^2.6.1",
|
|
"rollup": "0.41.1",
|
|
"rollup-plugin-commonjs": "7.0.0",
|
|
"rollup-plugin-json": "2.1.0",
|
|
"rollup-plugin-node-builtins": "2.0.0",
|
|
"rollup-plugin-node-globals": "1.1.0",
|
|
"rollup-plugin-node-resolve": "2.0.0",
|
|
"rollup-plugin-replace": "1.1.1",
|
|
"typescript": "2.3.2",
|
|
"typescript-eslint-parser": "git://github.com/eslint/typescript-eslint-parser.git#3dcba7d53f61f51069ed84b57e053802c014d703",
|
|
"uglify-es": "mishoo/UglifyJS2#harmony",
|
|
"webpack": "^2.6.1"
|
|
},
|
|
"scripts": {
|
|
"test": "jest",
|
|
"test-integration": "jest tests_integration",
|
|
"lint": "eslint .",
|
|
"build": "./scripts/build/build.sh",
|
|
"build:docs": "rollup -c docs/rollup.config.js"
|
|
},
|
|
"jest": {
|
|
"setupFiles": [
|
|
"<rootDir>/tests_config/run_spec.js"
|
|
],
|
|
"snapshotSerializers": [
|
|
"<rootDir>/tests_config/raw-serializer.js"
|
|
],
|
|
"testRegex": "jsfmt\\.spec\\.js$|__tests__/.*\\.js$",
|
|
"testPathIgnorePatterns": [
|
|
"tests/new_react",
|
|
"tests/more_react"
|
|
]
|
|
}
|
|
}
|