Skip to content

Commit 3d405c8

Browse files
authored
Merge pull request #610 from Galooshi/prettier-dev-dependency
Move prettier to devDependency, don't run prettier on package-lock.json
2 parents e31cddd + c303a82 commit 3d405c8

File tree

3 files changed

+7
-17
lines changed

3 files changed

+7
-17
lines changed

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
build
22
coverage
3+
package-lock.json

package-lock.json

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,7 @@
2222
"type": "git",
2323
"url": "git+https://github.com/galooshi/import-js.git"
2424
},
25-
"keywords": [
26-
"es6",
27-
"commonjs",
28-
"es2015",
29-
"ts",
30-
"typescript",
31-
"importing"
32-
],
25+
"keywords": ["es6", "commonjs", "es2015", "ts", "typescript", "importing"],
3326
"author": "Henric Trotzig",
3427
"contributors": [
3528
{
@@ -56,6 +49,7 @@
5649
"flow-bin": "^0.113.0",
5750
"jest": "^29.7.0",
5851
"mkdirp": "^0.5.1",
52+
"prettier": "^3.2.4",
5953
"rimraf": "^3.0.0"
6054
},
6155
"dependencies": {
@@ -71,7 +65,6 @@
7165
"globals": "^12.3.0",
7266
"lodash": "^4.17.15",
7367
"minimatch": "^3.0.4",
74-
"prettier": "^3.2.4",
7568
"require-relative": "^0.8.7",
7669
"semver": "^6.3.0",
7770
"sqlite3": "^5.0.2",
@@ -80,13 +73,8 @@
8073
"jest": {
8174
"automock": false,
8275
"testEnvironment": "node",
83-
"setupFiles": [
84-
"./setupJest.js"
85-
],
86-
"testPathIgnorePatterns": [
87-
"<rootDir>/build/",
88-
"<rootDir>/node_modules/"
89-
]
76+
"setupFiles": ["./setupJest.js"],
77+
"testPathIgnorePatterns": ["<rootDir>/build/", "<rootDir>/node_modules/"]
9078
},
9179
"prettier": {
9280
"singleQuote": true

0 commit comments

Comments
 (0)