2021-12-07 13:18:08 -05:00

86 lines
2.2 KiB
JSON

{
"name": "rfc4648",
"version": "1.5.0",
"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",
"exports": {
".": {
"import": "./lib/index.mjs",
"require": "./lib/index.js"
},
"./package.json": "./package.json"
},
"main": "./lib/index.js",
"module": "./lib/rfc4648.js",
"types": "./lib/src/index.d.ts",
"files": [
"CHANGELOG.md",
"lib/*",
"README.md",
"src/*"
],
"scripts": {
"build.lib": "rollup -c",
"build.types": "tsc",
"clean": "rimraf lib",
"fix": "npm run lint -- --fix",
"lint": "eslint --ext .js,.ts .",
"precommit": "npm-run-all lint -p test build.*",
"prepare": "npm-run-all clean -p build.*",
"test": "nyc mocha test/**/*.ts"
},
"husky": {
"hooks": {
"pre-commit": "npm run precommit"
}
},
"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": "^8.2.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": "^4.3.0",
"lint-staged": "^10.5.3",
"mocha": "^8.4.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": "^9.1.1",
"rollup-plugin-flow-entry": "^0.3.5",
"rollup-plugin-mjs-entry": "^0.1.1",
"rollup-plugin-uglify": "^6.0.4",
"sucrase": "^3.18.1",
"typescript": "^4.1.2"
}
}