Skip to content

Commit

Permalink
fix(build): use unix LF for cli
Browse files Browse the repository at this point in the history
Fixes #5
  • Loading branch information
ocombe committed Dec 12, 2017
1 parent a2e757c commit 19a847b
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ng-package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"dest": "dist",
"workingDirectory": ".ng_build",
"lib": {
"entryFile": "lib/public_api.ts"
"entryFile": "public_api.ts"
}
}
52 changes: 48 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"prebuild": "del-cli dist",
"build": "npm run package && npm run build:cli",
"build:cli": "tsc -p tsconfig.cli.json",
"postbuild:cli": "crlf --set=LF dist/**/*.js",
"commit": "git-cz",
"lint": "tslint --project tsconfig.json src/**/*.ts",
"prepublish": "npm run lint && npm run test && npm run build",
Expand Down Expand Up @@ -61,6 +62,7 @@
"codelyzer": "4.0.1",
"commitizen": "2.9.6",
"core-js": "2.5.1",
"crlf": "1.1.1",
"del-cli": "1.1.0",
"glob": "7.1.2",
"jest": "21.2.1",
Expand Down

0 comments on commit 19a847b

Please sign in to comment.