91 lines
2.4 KiB
JSON
91 lines
2.4 KiB
JSON
|
{
|
||
|
"name": "rfc4648",
|
||
|
"version": "1.5.3",
|
||
|
"description": "Encoding and decoding for base64, base32, base16, and friends",
|
||
|
"keywords": [
|
||
|
"Uint8Array",
|
||
|
"base16",
|
||
|
"base32",
|
||
|
"base32hex",
|
||
|
"base64",
|
||
|
"base64url",
|
||
|
"hex"
|
||
|
],
|
||
|
"repository": {
|
||
|
"type": "git",
|
||
|
"url": "git@github.com:swansontec/rfc4648.js.git"
|
||
|
},
|
||
|
"license": "MIT",
|
||
|
"author": "William Swanson",
|
||
|
"type": "module",
|
||
|
"exports": {
|
||
|
".": {
|
||
|
"import": {
|
||
|
"types": "./lib/src/index.d.ts",
|
||
|
"default": "./lib/rfc4648.js"
|
||
|
},
|
||
|
"require": {
|
||
|
"types": "./lib/src/index.d.ts",
|
||
|
"default": "./lib/cjs/rfc4648.js"
|
||
|
}
|
||
|
},
|
||
|
"./package.json": "./package.json"
|
||
|
},
|
||
|
"main": "./lib/cjs/rfc4648.js",
|
||
|
"module": "./lib/rfc4648.js",
|
||
|
"types": "./lib/src/index.d.ts",
|
||
|
"files": [
|
||
|
"/CHANGELOG.md",
|
||
|
"/lib/*",
|
||
|
"/package.json",
|
||
|
"/README.md",
|
||
|
"/src/index.flow.js"
|
||
|
],
|
||
|
"scripts": {
|
||
|
"clean": "rimraf lib",
|
||
|
"fix": "eslint . --fix",
|
||
|
"lib": "rollup -c && echo '{\"type\":\"commonjs\"}' > lib/cjs/package.json",
|
||
|
"lint": "eslint .",
|
||
|
"precommit": "lint-staged && npm-run-all types test",
|
||
|
"prepare": "husky install && npm-run-all clean -p lib types",
|
||
|
"test": "nyc mocha 'test/**/*.ts'",
|
||
|
"types": "tsc",
|
||
|
"verify": "npm-run-all lib lint types test"
|
||
|
},
|
||
|
"lint-staged": {
|
||
|
"*.{js,ts}": "eslint"
|
||
|
},
|
||
|
"devDependencies": {
|
||
|
"@babel/core": "^7.14.0",
|
||
|
"@babel/preset-env": "^7.14.1",
|
||
|
"@babel/preset-typescript": "^7.13.0",
|
||
|
"@rollup/plugin-babel": "^5.3.0",
|
||
|
"@rollup/plugin-node-resolve": "^13.0.0",
|
||
|
"@types/chai": "^4.2.18",
|
||
|
"@types/mocha": "^10.0.2",
|
||
|
"@typescript-eslint/eslint-plugin": "^4.8.2",
|
||
|
"@typescript-eslint/parser": "^4.8.2",
|
||
|
"babel-eslint": "^10.1.0",
|
||
|
"chai": "^4.3.4",
|
||
|
"eslint": "^7.14.0",
|
||
|
"eslint-config-standard-kit": "0.15.1",
|
||
|
"eslint-plugin-flowtype": "^5.2.0",
|
||
|
"eslint-plugin-import": "^2.22.1",
|
||
|
"eslint-plugin-prettier": "^3.1.4",
|
||
|
"eslint-plugin-promise": "^4.2.1",
|
||
|
"eslint-plugin-simple-import-sort": "^6.0.1",
|
||
|
"husky": "^8.0.3",
|
||
|
"lint-staged": "^14.0.1",
|
||
|
"mocha": "^10.2.0",
|
||
|
"npm-run-all": "^4.1.5",
|
||
|
"nyc": "^15.1.0",
|
||
|
"prettier": "^2.2.0",
|
||
|
"rimraf": "^3.0.2",
|
||
|
"rollup": "^2.47.0",
|
||
|
"rollup-plugin-filesize": "^10.0.0",
|
||
|
"rollup-plugin-flow-entry": "^0.3.5",
|
||
|
"sucrase": "^3.18.1",
|
||
|
"typescript": "^4.1.2"
|
||
|
}
|
||
|
}
|