Skip to content

Commit 69e4473

Browse files
committed
Test demo website with packaged files
1 parent 807f120 commit 69e4473

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

demo/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
# testing
99
/coverage
10+
package.tgz
1011

1112
# production
1213
/build

demo/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@
2020
"scripts": {
2121
"start": "react-scripts start",
2222
"build": "react-scripts build",
23+
"pretest": "yarn remove react-accessible-dropdown-menu-hook && yarn --cwd ../ pack --filename package.tgz && yarn add file:./package.tgz",
2324
"test": "react-scripts test",
25+
"posttest": "yarn remove react-accessible-dropdown-menu-hook && yarn add link:../",
2426
"lint": "eslint --ext .ts,.js,.tsx . && prettier --check '**/*.{ts,js,tsx,css,html,json}'",
2527
"format": "eslint --fix --ext .ts,.js,.tsx . && prettier --write '**/*.{ts,js,tsx,css,html,json}'"
2628
},

demo/yarn.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8252,7 +8252,7 @@ raw-body@2.4.0:
82528252
iconv-lite "0.4.24"
82538253
unpipe "1.0.0"
82548254

8255-
"react-accessible-dropdown-menu-hook@link:..":
8255+
"react-accessible-dropdown-menu-hook@link:../":
82568256
version "0.0.0"
82578257
uid ""
82588258

0 commit comments

Comments
 (0)