forked from zpao/qrcode.react
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9a82c5e
commit bf8233a
Showing
7 changed files
with
28 additions
and
331 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,4 @@ lib/ | |
examples/bundle.js | ||
package-lock.json | ||
examples/iife | ||
.envrc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
@alpacahq:registry=https://npm.pkg.github.com/alpacahq | ||
//npm.pkg.github.com/:_authToken=${NPM_TOKEN} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,19 @@ | ||
SRC_DEPS = src/index.tsx src/third-party/qrcodegen/index.ts | ||
CFG_DEPS = yarn.lock package.json tsup.config.ts | ||
CFG_DEPS = package.json tsup.config.ts | ||
|
||
all: lib/index.js lib/index.d.ts lib/index.js examples/iife/demo.js | ||
all: lib/index.js lib/index.d.ts lib/index.js | ||
|
||
lib: | ||
mkdir -p lib | ||
|
||
lib/index.d.ts: lib $(SRC_DEPS) $(CFG_DEPS) | ||
yarn run build:code | ||
npm run build:code | ||
|
||
lib/esm/index.js: lib $(SRC_DEPS) $(CFG_DEPS) | ||
yarn run build:code | ||
npm run build:code | ||
|
||
lib/index.js: lib $(SRC_DEPS) $(CFG_DEPS) | ||
yarn run build:code | ||
|
||
examples/iife/demo.js: lib/esm/index.js examples/demo.tsx | ||
yarn run build:examples | ||
npm run build:code | ||
|
||
clean: | ||
rm -rf lib examples/iife/demo.js | ||
rm -rf lib |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.