{"ava":{"files":["!**/*.test-d.ts"],"timeout":"60s","typescript":{"rewritePaths":{"src/":"build/lab/src/"}}},"nyc":{"lines":"100","exclude":["build/cjs/**","build/esm/**","build/umd/**","dist/**","eg/**","test/**","**/*.test.*","**/*.spec.*"],"extends":"@istanbuljs/nyc-config-typescript","branches":"96","reporter":["html","text"],"statements":"100"},"tsd":{"directory":"test"},"bugs":{"url":"https://github.com/rivy/js.xdg-app-paths/issues"},"dist":{"shasum":"493dbbf6cdf430360a0b4ddabddd6da619b1dbbd","tarball":"https://registry.npmjs.org/xdg-app-paths/-/xdg-app-paths-8.3.0.tgz","fileCount":14,"integrity":"sha512-mgxlWVZw0TNWHoGmXq+NC3uhCIc55dDpAlDkMQUaIAcQzysb0kxctwv//fvuW61/nAAeUBJMQ8mnZjMmuYwOcQ==","signatures":[{"sig":"MEUCIQCyaVevwybF+bGs7RTuWJjd9Hm+EQU0zt96Nh1hatTQcgIgVouIeyLv1DCVN1WEQTzoACuyg8etPxHtsVNj8zHKq08=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":130541,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj4Y7oACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoskA//eeDOx4fLuKa5WYihYpDoW4Lm/Ft/n70g55wcNVXWO+/a2dEc\r\nrsEWPxnrNoAy2u8tqTsVjPTeR2xEsP2RsQCyRCTDCyw7BjoVV6WrCmwCHbm8\r\n8LC+saySrWe+pu+/VY8oToNla5rBjza3jOvGB08FbqO5ySj0MsGQHweUn/Dd\r\npb7Pix5PpKcIT0IYIVmkOz8u19xcE01/wceApaZeN6iVhVNVi5GmbNx/L+aB\r\nltL+aEGFt6rsmiviWGNlYjUkMrFQ3kQc2JSrr+tZUv8ZmWXCFtJTqnZcBIjb\r\nBJTQEvBfmxOLVZ22QGFBG5mn9O65+wgedgFFun+ezV8w8TOSV8tz+4bcdZwt\r\nayGb092hSBGKKZuKD4V9imDie45QNbETeNlWAbx0xCXZAh0wXLH4G/h9Wnu0\r\na5PqZSCgZuKBM6CcmVPOl9xHOWswXmUXo3g+H9aR/9XOGNuaDDSdXNkz67y4\r\nESpw7UJU/bEhd2/hFEMpspXiUrVSfRudbH4OWt6mIR0MYABNKn1DILPbzDe6\r\nnu7/roKBc8xGoRPQIxI0ZptmoOW10/F5BDUOXoZHK+PeJPMVmzYylk0z67zo\r\nWzJry+irBKYsy2iCC+yCylrELdnKYTUq2282GusmWWKG6gBdP0f6uW4ny5ou\r\ncP2D+DzhdELJOwn32+cG1bH6Z3Kygkvq8rM=\r\n=8N/c\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/cjs/mod.cjs.js","name":"xdg-app-paths","type":"commonjs","types":"./dist/types/mod.d.ts","author":{"name":"Roy Ivy III","email":"rivy.dev@gmail.com"},"module":"./dist/cjs/esm-wrapper/mod.esm.js","engines":{"node":">= 4.0"},"exports":{".":{"deno":"./src/mod.deno.ts","types":"./dist/types/mod.d.ts","import":"./dist/cjs/esm-wrapper/mod.esm.js","default":"./dist/cjs/mod.cjs.js","require":"./dist/cjs/mod.cjs.js"},"./cjs":{"types":"./dist/cjs/mod.cjs.d.ts","require":"./dist/cjs/mod.cjs.js"},"./package.json":"./package.json"},"gitHead":"625c9f1ca0693c2c047dfb503affa486ea325b87","license":"MIT","scripts":{"cov":"run-s coverage","fix":"run-s fix:*","dist":"run-s update","help":"run-s --silent _:help","lint":"run-s --silent +:max-node-8 && shx echo \"[lint] WARN Lint checks skipped [for NodeJS < v10]\" 1>&2 || run-p --print-name \"lint:*\"","test":"run-s --silent lint update:dist && run-p test:*","build":"run-s --silent \"build:*\"","clean":"shx rm -fr build dist","_:help":"< package.json node -e \"s = {p:'',e:'npm'}; if (new String(process.env.npm_execpath).match(/yarn.js$/)) { s = {p:'\\n',e:'yarn'}; }; console.log('%sUsage: \\`\\x1b[2m%s run TARGET\\x1b[m\\` or \\`\\x1b[2mnpx run-s TARGET [TARGET..]\\x1b[m\\`\\n\\nTARGETs:\\n', s.p, s.e); re = /^.*?\\x22(?:#\\s*)(\\w[^#\\x22]*)\\s+#+\\s+([^\\x22]+?)(\\s+#+)?\\x22.*$/; require('readline').createInterface({ input: process.stdin, output: process.stdout, terminal: false }).on('line', function(line){ if (match = re.exec(line)) { console.log('\\x1b[0;32m%s\\x1b[m %s', match[1].padEnd(19), match[2]); } }).on('close', () => { /^win/i.test(process.platform) || console.log(); });\"","retest":"run-s clean test","update":"run-s update:changelog update:dist","verify":"cross-env npm_config_test_dist=true npm_config_test=--verbose run-s test","rebuild":"run-s clean build","refresh":"run-s rebuild:all","version":"run-s --silent _:version:update:changelog && run-s lint:spell && run-s --silent update:dist && git add CHANGELOG.mkd dist","cov:html":"nyc report --reporter=html --report-dir=.coverage","cov:send":"shx mkdir -p .coverage && nyc report --reporter=text-lcov > \".coverage/@coverage.lcov\" && cross-env-shell codecov --disable=gcov --file=\".coverage/@coverage.lcov\" $npm_config_cov_send","cov:text":"nyc report","cov:view":"run-s cov:html && cd .coverage && open-cli index.html","coverage":"run-s --silent +:max-node-8 && shx echo \"[coverage] WARN Code coverage skipped [for NodeJS < v10]\" 1>&2 || run-s \"+:coverage\"","fix:lint":"eslint . --fix","build:cjs":"exec-if-updated --source package.json --source tsconfig.json --source \"tsconfig/**\" --source \"rollup.*.config.js\" --source \"src/**\" --target build/.targets/build-cjs.succeeded \"run-s -n rebuild:cjs\"","build:esm":"exec-if-updated --source package.json --source tsconfig.json --source \"tsconfig/**\" --source \"rollup.*.config.js\" --source \"src/**\" --target build/.targets/build-esm.succeeded \"run-s -n rebuild:esm\"","build:lab":"exec-if-updated --source package.json --source tsconfig.json --source \"tsconfig/**\" --source \"rollup.*.config.js\" --source \"src/**\" --target build/.targets/build-lab.succeeded \"run-s -n rebuild:lab\"","build:umd":"exec-if-updated --source package.json --source tsconfig.json --source \"tsconfig/**\" --source \"rollup.*.config.js\" --source \"src/**\" --target build/.targets/build-umd.succeeded \"run-s -n rebuild:umd\"","fix:style":"prettier . --write --list-different","lint:lint":"eslint .","realclean":"run-s clean && shx rm -fr .coverage .nyc_output","show:deps":"run-s --silent _:show:deps:prod _:show:deps:dev || shx true","test:code":"run-s --silent +:max-node-8 && cross-env-shell ava $npm_config_test_code || ( run-s --silent +:min-node-10 && cross-env-shell nyc --silent ava $npm_config_test_code )","+:coverage":"run-s build test:code && ( is-ci && run-s cov:send ) || ( run-s --silent _:is-not-ci && run-s cov:view )","lint:audit":"run-s --silent -- npm audit --omit dev","lint:spell":"cspell {eg,examples,src,test}/**/* CHANGELOG{,.md,.mkd} README{,.md,.mkd} --no-summary --config \".vscode/cspell.json\"","lint:style":"prettier . --check --loglevel warn","prerelease":"run-s clean update verify","preversion":"run-s --silent _:version:spell:changelog_update && cross-env npm_config_test_dist=true npm run test","reset:hard":"git clean -dfx && git reset --hard && npm install","test:types":"run-s --silent +:max-node-8 && shx echo \"[test:types] WARN Type testing skipped [for NodeJS < v10]\" 1>&2 || tsd","_:debug:env":"node -e \"console.log({env: process.env})\"","_:is-not-ci":"is-ci && exit 1 || exit 0","_:vcs-clean":"git diff --quiet","build:types":"exec-if-updated --source package.json --source tsconfig.json --source \"tsconfig/**\" --source \"rollup.*.config.js\" --source \"src/**\" --target build/.targets/build-types.succeeded \"run-s -n rebuild:types\"","rebuild:all":"run-s clean build update","rebuild:cjs":"shx rm -fr build/cjs && tsc -p tsconfig/tsconfig.cjs.json && shx cp -r src/esm-wrapper build/cjs/src && shx mkdir -p build/.targets && shx touch build/.targets/build-cjs.succeeded","rebuild:esm":"shx rm -fr build/esm && tsc -p tsconfig/tsconfig.esm.json && shx cp src/esm-wrapper/package.json build/esm/src && shx mkdir -p build/.targets && shx touch build/.targets/build-esm.succeeded","rebuild:lab":"shx rm -fr build/lab && tsc -p tsconfig/tsconfig.lab.json && shx cp -r src/esm-wrapper build/lab/src && shx mkdir -p build/.targets && shx touch build/.targets/build-lab.succeeded","rebuild:umd":"shx rm -fr build/umd && tsc -p tsconfig/tsconfig.umd.json && shx mkdir -p build/.targets && shx touch build/.targets/build-umd.succeeded","update:dist":"run-s --silent build && exec-if-updated --source \"build/**\" --target \"dist/**\" --target build/.targets/update-dist.succeeded \"run-s --silent _:update:dist:rebuild\"","+:max-node-8":"is-node-not-modern 10","lint:commits":"run-p --silent \"_:lint:commits:new:*\"","refresh:dist":"run-s rebuild update:dist","+:min-node-10":"is-node-modern 10","lint:markdown":"remark --quiet .","rebuild:types":"shx rm -fr build/types && tsc -p tsconfig/tsconfig.types.json && shx mkdir -p build/.targets && shx touch build/.targets/build-types.succeeded","prepublishOnly":"run-s clean update && cross-env npm_config_test_dist=true npm run test && run-s --silent update _:vcs-strictly-clean-err","_:show:deps:dev":"npm --silent ls --only development || shx true","_:vcs-clean-err":"run-s --silent _:vcs-clean || ( shx echo \"[vcs] ERR! Uncommitted changes\" 1>&2 & exit 1 )","_:show:deps:prod":"npm --silent ls --only production || shx true","update:changelog":"run-s --silent _:update:changelog && git diff --quiet --exit-code CHANGELOG.mkd || shx echo \"[update] info CHANGELOG updated\"","lint:editorconfig":"editorconfig-checker -config .ecrc.JS.json","_:update:changelog":"run-s --silent _:exists:git-changelog && git changelog > CHANGELOG.mkd || shx echo \"[update] WARN CHANGELOG not updated\" 1>&2","_:update:dist.pack":"node -e \"delete process.env.npm_config_dry_run; name=require('./package.json').name; name=name.replace(/^@/,'').replace('/','-'); result=require('child_process').spawnSync('npm pack && shx mkdir -p dist && shx mv '+name+'-*.tgz dist/'+name+'.tgz',{shell:true,encoding:'utf-8'}); if (result.status != 0) {console.error('[update] ERR! Unable to package (into *.tgz) for distribution\\n'+result.stdout+'\\n'+result.stderr); process.exit(1);} else {console.log(result.stdout);};\"","_:update:dist.build":"shx rm -fr dist/cjs dist/esm && shx mkdir -p dist/cjs dist/esm && shx cp -r build/cjs/src/* dist/cjs && shx cp -r build/esm/src/* dist/esm","_:update:dist.types":"shx mkdir -p dist && shx rm -fr dist/types && rollup --config .rollup.config.types.js && replace-in-file \"export { _default as default }\" \"export = _default\" dist/types/mod.cjs.d.ts --quiet && shx mkdir -p dist/cjs && shx cp dist/types/*.cjs.d.ts dist/cjs","_:vcs-strictly-clean":"git status --porcelain | node -e \"process.stdin.on('data',function(_){process.exit(1);});\"","# help # display help":"","# test # test package":"","_:update:dist:rebuild":"shx rm -fr dist && run-s --silent _:update:dist.build _:update:dist.types _:update:dist.normalizeEOL _:update:dist.pack && shx mkdir -p dist/.targets && shx touch build/.targets/update-dist.succeeded","_:exists:git-changelog":"node -e \"if (!require('command-exists').sync('git-changelog')){process.exit(1);};\" || ( shx echo \"WARN `git-changelog` missing (try `go get -u github.com/rivy-go/git-changelog/cmd/git-changelog`)\" & exit 1 )","_:lint:commits:all:spell":"node -e \"result=require('child_process').spawnSync('git log --color=never | cspell stdin --no-summary --config \".vscode/cspell.json\"',{shell:true,encoding:'utf-8'}); if (result.status != 0) {console.error('[cspell] ERR! Unknown words in commit(s)\\n'+result.stdout+'\\n'+result.stderr); process.exit(1);} else {console.log(result.stdout);};\"","_:lint:commits:new:spell":"node -e \"result=require('child_process').spawnSync('( git tag --list [#v]* --contains origin/last --sort=v:refname || shx true ) && ( git describe --tags --abbrev=0 HEAD~1 || shx true ) && ( git rev-list --max-parents=0 HEAD --abbrev-commit --abbrev=16 || shx true )',{shell:true,encoding:'utf-8'}); o=result.stdout.split(/\\r?\\n/).filter((s)=>!!s); vs=o; v=vs[0]; result=require('child_process').spawnSync('git log '+v+'.. --color=never | cspell stdin --no-summary --config \".vscode/cspell.json\"',{shell:true,encoding:'utf-8'}); if (result.status != 0) {console.error('[cspell] ERR! Unknown words in commit(s) (within \\'%s..HEAD\\')\\n'+result.stdout+'\\n'+result.stderr, v); process.exit(1);} else {(result.stdout.length > 0) && console.log(result.stdout);};\" || shx true","_:vcs-strictly-clean-err":"run-s --silent _:vcs-strictly-clean || ( shx echo \"[vcs] ERR! Uncommitted changes and/or untracked files\" 1>&2 & exit 1 )","## npm-version scripts ##":"","_:update:dist.normalizeEOL":"eolConverter lf dist/**/*.{cjs,js,mjs,ts,json}","_:version:update:changelog":"run-s --silent _:exists:git-changelog && node -e \"v=require('./package.json').version; result=require('child_process').spawnSync('git changelog --next-tag-now --next-tag v'+v,{shell:true,encoding:'utf-8'}); if (result.status != 0) {console.error('ERR! '+result.stderr); process.exit(1);} else {m='fs';require(m).writeFileSync('CHANGELOG.mkd',result.stdout);};\" || shx echo \"[version] WARN CHANGELOG not updated\" 1>&2","## npm lifecycle scripts ##":"","_:lint:commits:new:commitlint":"node -e \"result=require('child_process').spawnSync('( git tag --list [#v]* --contains origin/last --sort=v:refname || shx true ) && ( git describe --tags --abbrev=0 HEAD~1 || shx true ) && ( git rev-list --max-parents=0 HEAD --abbrev-commit --abbrev=16 || shx true )',{shell:true,encoding:'utf-8'}); o=result.stdout.split(/\\r?\\n/).filter((s)=>!!s); vs=o; v=vs[0]; result=require('child_process').spawnSync('commitlint --config .commitlint.config.js --from '+v,{shell:true,encoding:'utf-8'}); if (result.status != 0) {console.error('[commitlint] ERR! Flawed commit(s) found (within \\'%s..HEAD\\')\\n'+result.stdout+'\\n'+result.stderr, v); process.exit(1);} else { (result.stdout.length > 0) && console.log(result.stdout);};\" || shx true","# fix:lint # fix ESLint issues":"","# build # build/compile package":"","# clean # remove build artifacts":"","_:version:spell:changelog_update":"run-s --silent _:exists:git-changelog && git changelog -u | cspell stdin --config \".vscode/cspell.json\" || shx echo \"[lint] WARN CHANGELOG update `cspell` exception\" 1>&2","# lint # check for package code 'lint'":"","# retest # clean and (re-)test project":"","# show:deps # show package dependencies":"","# realclean # remove all generated files":"","# rebuild # clean and (re-)build project":"","# update:dist # update distribution content":"","# fix:style # fix Prettier formatting issues":"","# verify # fully (and verbosely) test package":"","# lint:lint # check for code 'lint' (using `eslint`)":"","# fix # fix package issues (automated/non-interactive)":"","# lint:spell # check for spelling errors (using `cspell`)":"","# update # update/prepare for distribution [alias: 'dist']":"","# lint:markdown # check for markdown errors (using `remark`)":"","# test:types # test for type declaration errors (using `tsd`)":"","# refresh # clean and rebuild/regenerate all project artifacts":"","# lint:audit # check for `npm audit` violations in project code":"","# lint:style # check for format imperfections (using `prettier`)":"","## +:... == sub-scripts (may run 'visibly', but not user-facing)":"","# update:changelog # update CHANGELOG (using `git changelog ...`)":"","# refresh:dist # clean, rebuild, and regenerate project distribution":"","# reset:hard # remove *all* generated files and reinstall dependencies":"","#* cov:send # use `--cov-send=...` to pass options to coverage uploader":"","# coverage # calculate and display (or send) code coverage [alias: 'cov']":"","# lint:commits # check for commit flaws (using `commitlint` and `cspell`)":"","# prerelease # clean, rebuild, and fully test (useful prior to publish/release)":"","# lint:editorconfig # check for EditorConfig format flaws (using `editorconfig-checker`)":"","# test:code # test package code (use `--test-code=...` to pass options to testing harness)":"","## _:... == sub-scripts ('hidden'; generally should be run 'silently' using `run-s/run-p --silent ...`":"","* _:help # print usage/TARGETs by matching lines containing leading double-quoted text like `# TARGET_NAME # HELP_TEXT`":"","* _:lint:commits:new:... * note: review from 'origin/last' or tag just prior to version-sorted latest, with fallback to first commit":""},"_npmUser":{"name":"rivy","email":"rivy.dev@gmail.com"},"homepage":"https://github.com/rivy/js.xdg-app-paths#readme","keywords":["appdir","application","cache","common","config","cross-platform","data","directory","environment","linux","mac","macos","node4","node6","node-v4","node-v6","osx","path","paths","portable","runtime","state","unix","user","windows","xdg"],"repository":{"url":"git+https://github.com/rivy/js.xdg-app-paths.git","type":"git"},"_npmVersion":"7.24.2","description":"Determine (XDG-compatible) paths for storing application files (cache, config, data, etc)","directories":{},"maintainers":[{"name":"rivy","email":"rivy.dev@gmail.com"}],"_nodeVersion":"10.23.1","dependencies":{"fsevents":"*","xdg-portable":"^10.6.0"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.19","devDependencies":{"ava":"^3.15.0","nyc":"^15.1.0","shx":"^0.3.3","tsd":"^0.14.0","is-ci":"^2.0.0","cspell":"^4.2.7","eslint":"^7","rollup":"^2.36.1","codecov":"^3.5.0","ts-node":"^9.0.0","typedoc":"^0.20.27","unified":"^9.2.0","open-cli":">=6.0 <7.0","prettier":"^2.1.1","cross-env":"^7.0.3","remark-cli":"=9.0.0","typescript":"~4.2.0","@types/node":"^14.14.20","cross-spawn":"^7.0.3","npm-run-all":"^4.1.5","remark-retext":"^4.0.0","command-exists":"^1.2.9","is-node-modern":"^1.0.0","retext-english":"^3.0.4","retext-passive":"^3.0.0","@ava/typescript":"^1.1.1","@commitlint/cli":"^11.0.0","exec-if-updated":"https://cdn.jsdelivr.net/gh/rivy/js-cli.exec-if-updated@2.2.0/dist/pkg/exec-if-updated.tgz","replace-in-file":"=6.3.0","remark-footnotes":"^3.0.0","eol-converter-cli":"^1.0.8","rollup-plugin-dts":"^2.0.1","retext-syntax-urls":"^2.0.0","editorconfig-checker":"^3.3.0","eslint-plugin-import":"^2","retext-repeated-words":"^3.0.0","eslint-config-prettier":"^7","eslint-plugin-security":"^1","retext-sentence-spacing":"^4.0.0","eslint-plugin-functional":"^3","@typescript-eslint/parser":"^4","rollup-plugin-typescript2":"^0.29.0","eslint-plugin-security-node":"^1","eslint-plugin-eslint-comments":"^3","remark-preset-lint-consistent":"^4.0.0","remark-preset-lint-recommended":"^5.0.0","@commitlint/config-conventional":"^11.0.0","@typescript-eslint/eslint-plugin":"^4","@istanbuljs/nyc-config-typescript":"^1.0.1","remark-preset-lint-markdown-style-guide":"^4.0.0"},"devDependencies:#":"* for testing, Node-v6 requires ava < v2 and nyc < v15","optionalDependencies":{"fsevents":"*"},"optionalDependencies:#":"* 'fsevents' included to avoid `npm ci` errors with early npm versions; ref: <https://github.com/bahmutov/npm-install/issues/103>","_npmOperationalInternal":{"tmp":"tmp/xdg-app-paths_8.3.0_1675726568528_0.7505353265582109","host":"s3://npm-registry-packages"},"_id":"xdg-app-paths@8.3.0","version":"8.3.0"}