Skip to content

Commit 80c1681

Browse files
committed
chore: remove lib index and small fix
1 parent c8fdf0c commit 80c1681

File tree

4 files changed

+4
-10
lines changed

4 files changed

+4
-10
lines changed

package.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,9 @@
1313
"test": "ng test dev-app",
1414
"lint": "ng lint --fix && npm run lint:scss",
1515
"lint:scss": "stylelint \"**/*.scss\" --fix",
16-
"build:lib": "ng build code-editor",
17-
"postbuild:lib": "cp README.md dist/code-editor",
16+
"build:lib": "ng build code-editor && cp README.md dist/code-editor",
1817
"publish": "npm run build:lib && cd dist/code-editor && npm publish",
19-
"predeploy": "npm run build",
20-
"deploy": "ng deploy dev-app",
18+
"deploy": "npm run build && ng deploy",
2119
"prepare": "husky install"
2220
},
2321
"private": true,

projects/code-editor/index.ts

Lines changed: 0 additions & 1 deletion
This file was deleted.

projects/dev-app/src/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
</head>
1111

1212
<body>
13-
<app-root />
13+
<app-root></app-root>
1414
</body>
1515

1616
</html>

tsconfig.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,7 @@
2525
],
2626
"paths": {
2727
"@acrodata/code-editor": [
28-
"projects/code-editor"
29-
],
30-
"@acrodata/code-editor/*": [
31-
"projects/code-editor/*"
28+
"projects/code-editor/public-api"
3229
],
3330
}
3431
},

0 commit comments

Comments
 (0)