8000 update · JavaScriptExpert/json-server@9be68ff · GitHub
[go: up one dir, main page]

Skip to content

Commit 9be68ff

Browse files
committed
update
1 parent 13d8f97 commit 9be68ff

File tree

2 files changed

+53
-1
lines changed

2 files changed

+53
-1
lines changed

package-lock.json

Lines changed: 50 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
"babel-cli": "^6.26.0",
3636
"babel-preset-env": "^1.6.1",
3737
"babel-register": "^6.26.0",
38+
"crlf": "^1.1.1",
3839
"cross-env": "^5.1.1",
3940
"eslint": "^4.10.0",
4041
"eslint-config-prettier": "^2.6.0",
@@ -65,7 +66,8 @@
6566
"fix": "eslint . --fix",
6667
"build": "babel src -d lib --copy-files",
6768
"toc": "markdown-toc -i README.md",
68-
"prepublishOnly": "npm run build && pkg-ok",
69+
"lf": "crlf --set=LF ./bin/index.js",
70+
"prepublishOnly": "npm run build && npm run lf && pkg-ok",
6971
"precommit": "npm test"
7072
},
7173
"repository": {

0 commit comments

Comments
 (0)
0