Skip to content

Commit

Permalink
Finish: update package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
leftstick committed Mar 3, 2018
1 parent 53d7534 commit 8fb65b1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
8 changes: 1 addition & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
{
"$schema": "./node_modules/ng-packagr/ng-package.schema.json",
"name": "angular2-baidu-map",
"version": "4.1.1",
"ngPackage": {
"lib": {
"entryFile": "./src/public_api.ts"
}
},
"description": "Angular2 component for Baidu map",
"main": "./dist/src/index.js",
"types": "./dist/src/index.d.ts",
Expand All @@ -18,7 +12,7 @@
"deployDemo":
"npm run build && git checkout gh-pages && rm -rf *.* assets && mv demodist/* .",
"dist": "rm -rf dist && ngc -p tsconfig.json",
"packager": "rm -rf dist && ng-packagr -p package.json"
"packager": "rm -rf dist && ng-packagr -p ./src/package.json"
},
"files": ["dist/src/"],
"repository": {
Expand Down
8 changes: 8 additions & 0 deletions src/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"$schema": "./node_modules/ng-packagr/ng-package.schema.json",
"ngPackage": {
"lib": {
"entryFile": "./public_api.ts"
}
}
}

0 comments on commit 8fb65b1

Please sign in to comment.