- "content": "{\n \"name\": \"@codec-bytes/error\",\n \"description\": \"Codec errors for JavaScript\",\n \"version\": \"5.0.0\",\n \"license\": \"AGPL-3.0\",\n \"author\": \"make-github-pseudonymous-again\",\n \"homepage\": \"https://codec-bytes.github.io/error\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/codec-bytes/error\"\n },\n \"bugs\": {\n \"url\": \"https://github.com/codec-bytes/error/issues\"\n },\n \"keywords\": [\n \"codec\",\n \"decode\",\n \"encode\"\n ],\n \"sideEffects\": false,\n \"type\": \"module\",\n \"source\": \"src/index.js\",\n \"main\": \"dist/index.cjs\",\n \"module\": \"dist/index.module.js\",\n \"esmodule\": \"dist/index.modern.js\",\n \"umd:main\": \"dist/index.umd.js\",\n \"unpkg\": \"dist/index.umd.js\",\n \"exports\": {\n \".\": {\n \"browser\": \"./dist/index.module.js\",\n \"umd\": \"./dist/index.umd.js\",\n \"require\": \"./dist/index.cjs\",\n \"default\": \"./dist/index.modern.js\"\n }\n },\n \"files\": [\n \"dist\"\n ],\n \"publishConfig\": {\n \"access\": \"public\"\n },\n \"scripts\": {\n \"build\": \"NODE_ENV=production microbundle\",\n \"build-docs\": \"esdoc\",\n \"build-gh-pages\": \"npm run build-docs\",\n \"commit-msg\": \"commitlint --edit\",\n \"cover\": \"NODE_ENV=cover c8 --all --src src --reporter lcov --reporter text-summary --reporter text npm test\",\n \"debug\": \"NODE_ENV=debug npm run test -- -st --fail-fast\",\n \"dev\": \"npm run lint-config-and-fix && npm run lint-and-fix && npm run cover -- -- -st --fail-fast\",\n \"install-hooks\": \"husky install\",\n \"lint\": \"xo\",\n \"lint-and-fix\": \"npm run lint -- --fix\",\n \"lint-config\": \"fixpack --dryRun\",\n \"lint-config-and-fix\": \"fixpack || fixpack\",\n \"postinstall\": \"npm run install-hooks\",\n \"postpublish\": \"pinst --enable\",\n \"precommit\": \"lint-staged\",\n \"prepare\": \"npm run build\",\n \"prepublishOnly\": \"pinst --disable\",\n \"release\": \"np --message ':hatching_chick: release: Bumping to v%s.'\",\n \"test\": \"npm run test:src\",\n \"test-cmd\": \"NODE_LOADER_CONFIG=test/loader/config.js ava\",\n \"test:cjs\": \"IMPORT_MAP_PATH=test/import-maps/dist/index.json npm run test-cmd\",\n \"test:dist\": \"npm run test:modern && npm run test:module && npm run test:cjs\",\n \"test:modern\": \"IMPORT_MAP_PATH=test/import-maps/dist/index.modern.json npm run test-cmd\",\n \"test:module\": \"IMPORT_MAP_PATH=test/import-maps/dist/index.module.json npm run test-cmd\",\n \"test:src\": \"IMPORT_MAP_PATH=test/import-maps/src/index.json npm run test-cmd\"\n },\n \"dependencies\": {\n \"@failure-abstraction/error\": \"^6.0.1\"\n },\n \"devDependencies\": {\n \"@babel/core\": \"7.19.3\",\n \"@babel/preset-env\": \"7.19.3\",\n \"@commitlint/cli\": \"17.1.2\",\n \"@js-library/commitlint-config\": \"0.0.4\",\n \"@node-loader/babel\": \"2.0.1\",\n \"@node-loader/core\": \"2.0.0\",\n \"@node-loader/import-maps\": \"1.1.0\",\n \"ava\": \"4.3.3\",\n \"babel-plugin-transform-remove-console\": \"6.9.4\",\n \"babel-plugin-unassert\": \"3.2.0\",\n \"babel-preset-power-assert\": \"3.0.0\",\n \"c8\": \"7.12.0\",\n \"esdoc\": \"1.1.0\",\n \"esdoc-inject-script-plugin\": \"1.0.0\",\n \"esdoc-inject-style-plugin\": \"1.0.0\",\n \"esdoc-standard-plugin\": \"1.0.0\",\n \"fixpack\": \"4.0.0\",\n \"husky\": \"8.0.1\",\n \"lint-staged\": \"13.0.3\",\n \"microbundle\": \"0.15.1\",\n \"np\": \"7.6.2\",\n \"pinst\": \"3.0.0\",\n \"power-assert\": \"1.6.1\",\n \"regenerator-runtime\": \"0.13.9\",\n \"xo\": \"0.52.4\"\n },\n \"ava\": {\n \"files\": [\n \"test/src/**/*\"\n ],\n \"require\": [\n \"regenerator-runtime/runtime\"\n ],\n \"timeout\": \"1m\",\n \"nodeArguments\": [\n \"--experimental-loader=@node-loader/core\"\n ]\n },\n \"babel\": {\n \"sourceMaps\": true,\n \"plugins\": [\n [\n \"transform-remove-console\",\n {\n \"exclude\": [\n \"log\",\n \"error\",\n \"warn\"\n ]\n }\n ]\n ],\n \"env\": {\n \"debug\": {\n \"sourceMaps\": \"both\",\n \"presets\": [\n \"babel-preset-power-assert\"\n ],\n \"plugins\": [\n [\n \"transform-remove-console\",\n {\n \"exclude\": [\n \"debug\",\n \"log\",\n \"error\",\n \"warn\"\n ]\n }\n ]\n ]\n },\n \"test\": {\n \"sourceMaps\": \"both\",\n \"presets\": [\n \"babel-preset-power-assert\"\n ]\n },\n \"cover\": {\n \"sourceMaps\": \"both\",\n \"presets\": [\n \"babel-preset-power-assert\"\n ]\n },\n \"development\": {\n \"presets\": [\n [\n \"@babel/preset-env\",\n {\n \"targets\": [\n \"defaults\",\n \"maintained node versions\"\n ]\n }\n ],\n \"babel-preset-power-assert\"\n ]\n },\n \"production\": {\n \"presets\": [\n [\n \"@babel/preset-env\",\n {\n \"targets\": [\n \"defaults\",\n \"maintained node versions\"\n ]\n }\n ]\n ],\n \"plugins\": [\n \"babel-plugin-unassert\"\n ]\n }\n }\n },\n \"lint-staged\": {\n \"*.js\": [\n \"npm run lint-and-fix\"\n ],\n \"package.json\": [\n \"npm run lint-config-and-fix\"\n ]\n },\n \"prettier\": {\n \"trailingComma\": \"all\"\n },\n \"xo\": {\n \"prettier\": true,\n \"plugins\": [\n \"unicorn\"\n ],\n \"rules\": {\n \"unicorn/filename-case\": [\n \"error\",\n {\n \"cases\": {\n \"camelCase\": true,\n \"pascalCase\": true\n }\n }\n ],\n \"unicorn/prefer-node-protocol\": \"off\"\n },\n \"overrides\": [\n {\n \"files\": [\n \"doc/**\"\n ],\n \"env\": \"browser\"\n }\n ]\n }\n}\n",
0 commit comments