{
"name": "tcompare",
"version": "6.0.0",
"description": "A comprehensive comparison library, for use in test frameworks",
"repository": {
"type": "git",
"url": "git+https://github.com/tapjs/tcompare.git"
},
"author": "Isaac Z. Schlueter <i@izs.me> (https://izs.me)",
"license": "ISC",
"main": "./dist/cjs/index.js",
"module": "./dist/mjs/index.js",
"exports": {
".": {
"import": "./dist/mjs/index.js",
"require": "./dist/cjs/index.js"
},
"./plugin-base": {
"import": "./dist/mjs/plugin-base.js",
"require": "./dist/cjs/plugin-base.js"
},
"./package.json": "./package.json"
},
"files": [
"dist"
],
"dependencies": {
"diff": "^5.1.0"
},
"devDependencies": {
"@types/diff": "^5.0.2",
"@types/node": "^18.11.9",
"@types/tap": "^15.0.7",
"c8": "^7.12.0",
"prettier": "^2.8.0",
"tap": "^16.3.2",
"ts-node": "^10.9.1",
"typedoc": "^0.23.21",
"typescript": "^4.9.3"
},
"prettier": {
"semi": false,
"printWidth": 60,
"tabWidth": 2,
"useTabs": false,
"singleQuote": true,
"jsxSingleQuote": false,
"bracketSameLine": true,
"arrowParens": "avoid",
"endOfLine": "lf"
},
"scripts": {
"snap": "c8 tap",
"test": "c8 tap",
"preprepare": "rm -rf dist",
"prepare": "tsc -p tsconfig-cjs.json && tsc -p tsconfig-esm.json",
"postprepare": "bash fixup.sh",
"pretest": "npm run prepare",
"presnap": "npm run prepare",
"format": "prettier --write . --loglevel warn",
"preversion": "npm test",
"postversion": "npm publish",
"prepublishOnly": "git push origin --follow-tags",
"typedoc": "typedoc --tsconfig tsconfig-esm.json ./src/*.ts"
},
"tap": {
"test-env": [
"LC_ALL=sk"
],
"coverage": false,
"node-arg": [
"--no-warnings",
"--loader",
"ts-node/esm"
],
"ts": false
},
"engines": {
"node": ">=16"
}
}
|