vitest-marbles
Version:
Marble testing helpers library for RxJs and Jest
107 lines (106 loc) • 3.5 kB
JSON
{
"name": "vitest-marbles",
"version": "0.0.1",
"description": "Marble testing helpers library for RxJs and Jest",
"main": "./umd/vitest-marbles.js",
"module": "./lib/index.js",
"es2015": "./lib-esm/index.js",
"typings": "./typings/index.d.ts",
"exports": {
".": {
"require": "./umd/index.js",
"import": "./lib-esm/index.js",
"types": "./typings/index.d.ts"
}
},
"license": "MIT",
"engines": {
"node": ">=6.11.5"
},
"keywords": [
"jest",
"marbles",
"marble",
"testing",
"test",
"rxjs",
"observable"
],
"scripts": {
"build": "tsc && tsc --target es2017 --outDir lib-esm && webpack && webpack --env prod",
"build:fesm:min": "uglifyjs lib-fesm/index.js --compress --mangle --source-map --output lib-fesm/index.min.js",
"docs": "typedoc -p . --theme minimal --target 'es6' --excludeNotExported --excludePrivate --ignoreCompilerErrors --exclude \"**/src/**/__tests__/*.*\" --out docs src/",
"test": "vitest run",
"test:watch": "npm test -- --watch",
"test:coverage": "npm test -- --coverage",
"test:only-changed": "npm test -- --bail --onlyChanged",
"ts:lint": "tslint --project tsconfig.json --format codeFrame",
"ts:lint:fix": "npm run ts:lint -- --fix",
"ts:format:base": "npm run prettier:ts -- {src,__{tests,mocks}__}/**/*.{ts,tsx}",
"ts:format": "npm run ts:format:base -- --list-different",
"ts:format:fix": "npm run ts:format:base -- --write",
"ts:style": "npm run ts:format && npm run ts:lint",
"ts:style:fix": "npm run ts:format:fix && npm run ts:lint:fix",
"verify": "npm run ts:style && npm test",
"cz": "git-cz",
"prettier:ts": "prettier --single-quote --print-width 120 --trailing-comma es5 --parser typescript",
"prerelease": "npm run build",
"release": "standard-version --sign",
"postrelease": "npm run release:github && npm run release:npm",
"release:github": "git push --follow-tags origin master",
"release:npm": "npm publish",
"release:preflight:package": "npm pack",
"size": "shx echo \"Gzipped Size:\" && cross-var strip-json-comments --no-whitespace $npm_package_main | gzip-size"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
},
"validate-commit-msg": {
"types": "conventional-commit-types",
"maxSubjectLength": 120
}
},
"lint-staged": {
"src/**/*.{ts,tsx}": [
"npm run prettier:ts -- --write",
"npm run ts:lint:fix"
]
},
"devDependencies": {
"@types/node": "^12.6.8",
"commitizen": "^4.0.2",
"cross-var": "^1.1.0",
"cz-conventional-changelog": "^3.0.2",
"gzip-size-cli": "^4.0.0",
"husky": "^4.0.0",
"jsdom": "22.1.0",
"lint-staged": "^10.0.0",
"prettier": "^1.16.4",
"rxjs": "7.5.5",
"shx": "^0.3.2",
"standard-version": "^9.0.0",
"strip-json-comments-cli": "^1.0.1",
"ts-loader": "^9.3.1",
"tslint": "^6.0.0",
"tslint-config-prettier": "^1.18.0",
"tslint-config-standard": "^9.0.0",
"typescript": "4.7.4",
"validate-commit-msg": "^2.14.0",
"vitest": "0.34.4",
"webpack": "5.73.0",
"webpack-cli": "4.10.0",
"webpack-config-utils": "2.3.1"
},
"peerDependencies": {
"rxjs": "^7.0.0",
"vitest": "*"
},
"husky": {
"hooks": {
"commit-msg": "validate-commit-msg",
"pre-commit": "lint-staged",
"pre-push": "npm run ts:style && npm run test:only-changed"
}
}
}