prettier 1.5.2 → 1.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +182 -44
- package/bin/prettier.js +11536 -3377
- package/index.js +11987 -4187
- package/package.json +14 -21
- package/parser-babylon.js +1 -1
- package/parser-flow.js +1 -1
- package/parser-postcss.js +6454 -6161
- package/parser-typescript.js +1 -1
- package/parser-json.js +0 -1
package/package.json
CHANGED
|
@@ -1,24 +1,29 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "prettier",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"description": "Prettier is an opinionated
|
|
3
|
+
"version": "1.6.1",
|
|
4
|
+
"description": "Prettier is an opinionated code formatter",
|
|
5
5
|
"bin": {
|
|
6
6
|
"prettier": "./bin/prettier.js"
|
|
7
7
|
},
|
|
8
8
|
"repository": "prettier/prettier",
|
|
9
|
+
"homepage": "https://prettier.io",
|
|
9
10
|
"author": "James Long",
|
|
10
11
|
"license": "MIT",
|
|
11
12
|
"main": "./index.js",
|
|
12
13
|
"devDependencies": {
|
|
13
14
|
"babel-cli": "6.24.1",
|
|
14
15
|
"babel-preset-es2015": "6.24.1",
|
|
16
|
+
"codecov": "2.2.0",
|
|
17
|
+
"cross-env": "5.0.1",
|
|
15
18
|
"cross-spawn": "5.1.0",
|
|
16
|
-
"eslint": "
|
|
19
|
+
"eslint": "4.1.1",
|
|
17
20
|
"eslint-friendly-formatter": "3.0.0",
|
|
18
|
-
"eslint-plugin-
|
|
21
|
+
"eslint-plugin-import": "2.6.1",
|
|
22
|
+
"eslint-plugin-prettier": "2.1.2",
|
|
23
|
+
"eslint-plugin-react": "7.1.0",
|
|
19
24
|
"jest": "20.0.0",
|
|
20
25
|
"mkdirp": "^0.5.1",
|
|
21
|
-
"prettier": "1.
|
|
26
|
+
"prettier": "1.6.0",
|
|
22
27
|
"rimraf": "2.6.1",
|
|
23
28
|
"rollup": "0.41.1",
|
|
24
29
|
"rollup-plugin-commonjs": "7.0.0",
|
|
@@ -27,6 +32,7 @@
|
|
|
27
32
|
"rollup-plugin-node-globals": "1.1.0",
|
|
28
33
|
"rollup-plugin-node-resolve": "2.0.0",
|
|
29
34
|
"rollup-plugin-replace": "1.1.1",
|
|
35
|
+
"shelljs": "0.7.8",
|
|
30
36
|
"sw-toolbox": "3.6.0",
|
|
31
37
|
"uglify-es": "3.0.15",
|
|
32
38
|
"webpack": "2.6.1"
|
|
@@ -34,20 +40,7 @@
|
|
|
34
40
|
"scripts": {
|
|
35
41
|
"test": "jest",
|
|
36
42
|
"test-integration": "jest tests_integration",
|
|
37
|
-
"lint": "EFF_NO_LINK_RULES=true eslint . --format
|
|
38
|
-
"build": "./scripts/build/build.
|
|
39
|
-
},
|
|
40
|
-
"jest": {
|
|
41
|
-
"setupFiles": [
|
|
42
|
-
"<rootDir>/tests_config/run_spec.js"
|
|
43
|
-
],
|
|
44
|
-
"snapshotSerializers": [
|
|
45
|
-
"<rootDir>/tests_config/raw-serializer.js"
|
|
46
|
-
],
|
|
47
|
-
"testRegex": "jsfmt\\.spec\\.js$|__tests__/.*\\.js$",
|
|
48
|
-
"testPathIgnorePatterns": [
|
|
49
|
-
"tests/new_react",
|
|
50
|
-
"tests/more_react"
|
|
51
|
-
]
|
|
43
|
+
"lint": "cross-env EFF_NO_LINK_RULES=true eslint . --format node_modules/eslint-friendly-formatter",
|
|
44
|
+
"build": "./scripts/build/build.js"
|
|
52
45
|
}
|
|
53
|
-
}
|
|
46
|
+
}
|