Skip to content

Commit cd71f1d

Browse files
committed
use serve-examples
1 parent 50f9765 commit cd71f1d

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
node_modules
22
.cache
33
dist
4-
public
4+
out
55
test/diffs
66
*.d.ts
77
*.metadata.json

package.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@
2020
"build:js": "rimraf dist/* && rollup -c",
2121
"build:source": "node config/source.js",
2222
"build:aot": "ngc -p config/aot.json",
23-
"public": "npm run build && rimraf public/* && parcel build examples/index.html -d public",
24-
"start": "parcel examples/index.html -d public --open",
25-
"test": "npm run public && jest"
23+
"output": "npm run build && rimraf out/* && parcel build examples/**/*.html -d out",
24+
"start": "serve-examples",
25+
"test": "npm run output && jest"
2626
},
2727
"dependencies": {
2828
"@activewidgets/frameworks": "0.0.9",
@@ -51,6 +51,9 @@
5151
"typescript": ">=3.4 <3.6",
5252
"zone.js": "~0.9.1"
5353
},
54+
"alias": {
55+
"@activewidgets/angular": "./"
56+
},
5457
"jest": {
5558
"projects": [
5659
{

0 commit comments

Comments
 (0)