Skip to content

Commit 2a75ae9

Browse files
committed
use serve-examples
1 parent d791ec9 commit 2a75ae9

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
*.bat
77
package-lock.json

package.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
],
1515
"scripts": {
1616
"build": "rimraf dist/* && rollup -c",
17-
"public": "npm run build && rimraf public/* && parcel build examples/index.html -d public",
18-
"start": "parcel examples/index.html -d public --open",
19-
"test": "npm run public && jest"
17+
"output": "npm run build && rimraf out/* && parcel build examples/**/*.html -d out",
18+
"start": "serve-examples",
19+
"test": "npm run output && jest"
2020
},
2121
"dependencies": {
2222
"@activewidgets/datagrid": "0.0.9",
@@ -43,6 +43,9 @@
4343
"rollup-plugin-terser": "^5",
4444
"style-inject": "^0.3"
4545
},
46+
"alias": {
47+
"@activewidgets/jquery": "./"
48+
},
4649
"jest": {
4750
"projects": [
4851
{

0 commit comments

Comments
 (0)