-
Notifications
You must be signed in to change notification settings - Fork 1
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
17b2ac8
commit b3c97e0
Showing
7 changed files
with
154 additions
and
90 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
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,84 +1,111 @@ | ||
{ | ||
"name": "pn532.js", | ||
"version": "0.1.14", | ||
"author": "taichunmin <taichunmin@gmail.com>", | ||
"browser": "dist/pn532.min.js", | ||
"description": "pn532.js is a JavaScript library for PN532 base on Web Bluetooth and Web Serial.", | ||
"homepage": "https://taichunmin.idv.tw/pn532.js/docs/", | ||
"jsdelivr": "dist/pn532.min.js", | ||
"license": "MIT", | ||
"main": "src/main.js", | ||
"main": "dist/main.js", | ||
"module": "src/main.js", | ||
"name": "pn532.js", | ||
"type": "module", | ||
"unpkg": "dist/pn532.min.js", | ||
"version": "0.1.14", | ||
"bugs": { | ||
"url": "https://github.com/taichunmin/pn532.js/issues" | ||
"url": "https://github.com/taichunmin/pn532.js/issues" | ||
}, | ||
"contributors": [ | ||
{ | ||
"email": "taichunmin@gmail.com", | ||
"name": "Chunmin Tai", | ||
"url": "https://taichunmin.idv.tw" | ||
} | ||
{ | ||
"email": "taichunmin@gmail.com", | ||
"name": "Chunmin Tai", | ||
"url": "https://taichunmin.idv.tw" | ||
} | ||
], | ||
"dependencies": { | ||
"lodash": "^4.17.21", | ||
"web-serial-polyfill": "^1.0.14" | ||
"lodash": "^4.17.21", | ||
"web-serial-polyfill": "^1.0.14" | ||
}, | ||
"devDependencies": { | ||
"@rollup/plugin-commonjs": "^24.0.1", | ||
"@rollup/plugin-json": "^6.0.0", | ||
"@rollup/plugin-node-resolve": "^15.0.1", | ||
"@rollup/plugin-terser": "^0.4.0", | ||
"cross-env": "^7.0.3", | ||
"dayjs": "^1.11.7", | ||
"documentation": "^14.0.1", | ||
"dotenv": "^16.0.3", | ||
"eslint": "^8.33.0", | ||
"eslint-config-standard": "^17.0.0", | ||
"eslint-plugin-import": "^2.27.5", | ||
"eslint-plugin-n": "^15.6.1", | ||
"eslint-plugin-node": "^11.1.0", | ||
"eslint-plugin-promise": "^6.1.1", | ||
"eslint-plugin-pug": "^1.2.5", | ||
"fast-glob": "^3.2.12", | ||
"finalhandler": "^1.2.0", | ||
"html-minifier": "^4.0.0", | ||
"jest": "^29.4.1", | ||
"jstransformer-sass": "^1.0.0", | ||
"livereload": "^0.9.3", | ||
"node-watch": "^0.7.3", | ||
"pug": "^3.0.2", | ||
"rollup": "^3.14.0", | ||
"rollup-plugin-version-injector": "^1.3.3", | ||
"serve-static": "^1.15.0", | ||
"web-streams-polyfill": "^3.2.1" | ||
"@rollup/plugin-commonjs": "^24.0.1", | ||
"@rollup/plugin-json": "^6.0.0", | ||
"@rollup/plugin-node-resolve": "^15.0.1", | ||
"@rollup/plugin-terser": "^0.4.0", | ||
"cross-env": "^7.0.3", | ||
"dayjs": "^1.11.7", | ||
"documentation": "^14.0.1", | ||
"dotenv": "^16.0.3", | ||
"eslint": "^8.33.0", | ||
"eslint-config-standard": "^17.0.0", | ||
"eslint-plugin-import": "^2.27.5", | ||
"eslint-plugin-n": "^15.6.1", | ||
"eslint-plugin-node": "^11.1.0", | ||
"eslint-plugin-promise": "^6.1.1", | ||
"eslint-plugin-pug": "^1.2.5", | ||
"fast-glob": "^3.2.12", | ||
"finalhandler": "^1.2.0", | ||
"html-minifier": "^4.0.0", | ||
"jest": "^29.4.1", | ||
"jstransformer-sass": "^1.0.0", | ||
"livereload": "^0.9.3", | ||
"node-watch": "^0.7.3", | ||
"pug": "^3.0.2", | ||
"rollup": "^3.14.0", | ||
"serve-static": "^1.15.0", | ||
"web-streams-polyfill": "^3.2.1" | ||
}, | ||
"exports": { | ||
"./package.json": "./package.json", | ||
".": { | ||
"default": "./dist/main.js", | ||
"import": "./src/main.js" | ||
}, | ||
"./Crypto1.js": { | ||
"default": "./dist/Crypto1.js", | ||
"import": "./src/Crypto1.js" | ||
}, | ||
"./plugin/Hf14a.js": { | ||
"default": "./dist/plugin/Hf14a.js", | ||
"import": "./src/plugin/Hf14a.js" | ||
}, | ||
"./plugin/LoggerRxTx.js": { | ||
"default": "./dist/plugin/LoggerRxTx.js", | ||
"import": "./src/plugin/LoggerRxTx.js" | ||
}, | ||
"./plugin/WebbleAdapter.js": { | ||
"default": "./dist/plugin/WebbleAdapter.js", | ||
"import": "./src/plugin/WebbleAdapter.js" | ||
}, | ||
"./plugin/WebserialAdapter.js": { | ||
"default": "./dist/plugin/WebserialAdapter.js", | ||
"import": "./src/plugin/WebserialAdapter.js" | ||
} | ||
}, | ||
"keywords": [ | ||
"13.56MHz", | ||
"browser", | ||
"chrome", | ||
"libnfc", | ||
"mifare classic", | ||
"NFC", | ||
"PN532", | ||
"RFID", | ||
"web bluetooth", | ||
"web serial" | ||
"13.56MHz", | ||
"browser", | ||
"chrome", | ||
"libnfc", | ||
"mifare classic", | ||
"NFC", | ||
"PN532", | ||
"RFID", | ||
"web bluetooth", | ||
"web serial" | ||
], | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/taichunmin/pn532.js.git" | ||
"type": "git", | ||
"url": "https://github.com/taichunmin/pn532.js.git" | ||
}, | ||
"resolutions": { | ||
"**/jstransformer-scss": "taichunmin/jstransformer-scss" | ||
"**/jstransformer-scss": "taichunmin/jstransformer-scss" | ||
}, | ||
"scripts": { | ||
"build": "cross-env DEBUG=app:* node ./index.js && yarn docjs", | ||
"dev": "cross-env DEBUG=app:* node ./dev.js", | ||
"docjs": "documentation build --config documentation.yml src/** -f html --github -o dist/docs", | ||
"lint": "eslint --ext .js,.pug --fix .", | ||
"mkcert": "mkcert -key-file ./mkcert/key.pem -cert-file ./mkcert/cert.pem -ecdsa localhost", | ||
"repl": "node --experimental-repl-await repl.js", | ||
"test": "node --experimental-vm-modules --no-warnings node_modules/jest/bin/jest.js" | ||
"build": "cross-env DEBUG=app:* node ./index.js && yarn docjs", | ||
"dev": "cross-env DEBUG=app:* node ./dev.js", | ||
"docjs": "documentation build --config documentation.yml src/** -f html --github -o dist/docs", | ||
"lint": "eslint --ext .js,.pug --fix .", | ||
"mkcert": "mkcert -key-file ./mkcert/key.pem -cert-file ./mkcert/cert.pem -ecdsa localhost", | ||
"repl": "node --experimental-repl-await repl.js", | ||
"test": "node --experimental-vm-modules --no-warnings node_modules/jest/bin/jest.js" | ||
} | ||
} |
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 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 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,4 +1,4 @@ | ||
export { default as Packet } from './Packet.js' | ||
export { default as Pn532 } from './Pn532.js' | ||
export { version } from '../package.json' | ||
export * as utils from './utils.js' | ||
export const version = '[VI]{version}[/VI]' |
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 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