-
Millicent Billette authoredMillicent Billette authored
This project manages its dependencies using npm.
Learn more
package.json 3.72 KiB
{
"private": true,
"author": "[1000i100] Millicent Billette <git@1000i100.fr> (https://1forma-tic.fr/)",
"scripts": {
"postinstall": "run-s clean build",
"clean": "rm -rf generated*",
"build": "run-s build:**",
"build:mk": "node CI/mkGenerated.mjs",
"build:vendors": "node CI/vendors.js",
"build:cpSrcToContextSpecific": "node CI/cpSrcToContextSpecific.js",
"build:npm:rollup": "rollup --config CI/rollup.config.js",
"build:npm:cp": "cp npm/* generated/npm/",
"build:npm:cp:readme": "cp README* generated/npm/",
"build:npm:min:terser": "node CI/minify.mjs",
"test": "run-s test:dev",
"test:dev": "run-p test:dev:**",
"xtest:dev:qualityCheck": "xo",
"test:dev:runTests": "ava src/**.test.mjs",
"test:dev:duplication": "jscpd ./ -s",
"xtest:dev:complexity": "codehawk ./",
"test-e2e": "ava generated/tmpNodejs/**.test-e2e.mjs",
"test:production": "run-s test:production:**",
"xtest:production:qualityCheck": "xo",
"test:production:duplication": "jscpd ./",
"test:production:complexity": "./node_modules/.bin/es6-plato -r -d generated/maintainability ./src/*",
"test:production:complexity:badgesAndThreshold": "node CI/plato-badges.js",
"test:production:srcCoverage": "cd generated/tmpNodejs/ && c8 ava **.test.mjs",
"test:production:npm:nodejs:cp": "cp generated/tmpNodejs/*.test*.mjs generated/npm/nodejs/",
"test:production:npm:nodejs:test": "cd generated/npm/nodejs/ && ava **.test.mjs",
"test:production:npm:nodejs:test-e2e": "cd generated/npm/nodejs/ && ava **.test-e2e.mjs",
"test:production:npm:nodejs:clean": "rm -rf generated/npm/nodejs/*.test*.mjs",
"watch": "chokidar src/* -c \"npm run test:dev:runTests\"",
"watch2null": "chokidar src/* -c \"npm run test:dev:runTests 2>/dev/null\""
},
"dependencies": {
"cross-fetch": "^3.1.4",
"js-sha256": "https://github.com/1000i100/js-sha256#master",
"latinize-to-ascii": "^0.5.2",
"node-fetch": "^2.6.1",
"scrypt-async-modern": "^3.0.12",
"tweetnacl": "^1.0.3"
},
"devDependencies": {
"@jscpd/badge-reporter": "^3.3.23",
"ava": "^3.15.0",
"badgen": "^3.2.2",
"c8": "^7.6.0",
"chokidar-cli": "^2.1.0",
"es6-plato": "https://github.com/1000i100/es6-plato#master",
"jscpd": "^3.3.25",
"karma": "^6.3.4",
"mkdirp": "^1.0.4",
"npm-run-all": "^4.1.5",
"rollup": "^2.42.4",
"terser": "^5.7.0"
},
"disabledDependenciesTODOAddComplexityQualityCheck": {
"noble-ed25519": "https://github.com/1000i100/noble-ed25519#master",
"ecma-nacl": "^2.5.0",
"codehawk-cli": "^8.3.0",
"xo": "^0.38.2"
},
"ava": {
"files": [
"**/*.test*.mjs",
"*.test*.mjs",
"!node_modules"
]
},
"c8": {
"all": true,
"branches": 0.8,
"lines": 0.8,
"functions": 0.8,
"statements": 0.8,
"report-dir": "../coverage",
"temp-dir": "../nyc_output.temp",
"exclude": [
"**.test*.*js"
],
"reporter": [
"text-summary",
"html"
]
},
"xo": {
"rules": {
"curly": 0,
"ava/no-inline-assertions": 0,
"unicorn/no-reduce": 0,
"unicorn/no-array-reduce": 0,
"unicorn/no-array-for-each": 0,
"unicorn/prefer-string-slice": 0,
"unicorn/prevent-abbreviations": 0,
"unicorn/number-literal-case": 0,
"unicorn/no-array-callback-reference": 0,
"guard-for-in": 0
}
},
"maintainabilityThreshold": {
"global": 75,
"file": 50
},
"jscpd": {
"threshold": 3.14,
"reporters": [
"html",
"console",
"badge"
],
"formatsExts": {
"javascript": [
"js",
"mjs",
"es6"
],
"json": [
"json"
],
"yaml": [
"yml",
"yaml"
],
"markdown": [
"md"
]
},
"gitignore": true,
"output": "generated/jscpd/"
},
"codehawk": {
"extensions": [
".js",
".jsx",
".ts",
".tsx",
".mjs",
".es6"
],
"skipDirectories": [
"/node_modules",
"/generated"
]
}
}