70 lines
2.0 KiB
JSON
70 lines
2.0 KiB
JSON
|
{
|
||
|
"name": "ts-log",
|
||
|
"version": "2.2.3",
|
||
|
"description": "Abstract logger TypeScript interface with a dummy logger that does nothing, useful for libraries.",
|
||
|
"main": "build/src/index.js",
|
||
|
"types": "build/src/index.d.ts",
|
||
|
"author": "Stagnation Lab",
|
||
|
"keywords": [
|
||
|
"typescript",
|
||
|
"abstract",
|
||
|
"logger",
|
||
|
"console",
|
||
|
"dummy"
|
||
|
],
|
||
|
"license": "MIT",
|
||
|
"repository": {
|
||
|
"type": "git",
|
||
|
"url": "https://github.com/kallaspriit/ts-log.git"
|
||
|
},
|
||
|
"scripts": {
|
||
|
"start": "nodemon --inspect example/index.ts",
|
||
|
"build": "npm run tidy:build && tsc",
|
||
|
"production": "node build/example/index",
|
||
|
"lint": "tslint --project tsconfig.json --format codeFrame",
|
||
|
"lint-fix": "npm run lint --fix",
|
||
|
"prettier": "prettier --write src/**/*.ts example/**/*.ts",
|
||
|
"tidy": "npm run tidy:build && npm run tidy:coverage",
|
||
|
"tidy:build": "rimraf build",
|
||
|
"tidy:coverage": "rimraf coverage",
|
||
|
"test": "jest",
|
||
|
"test-watch": "jest --watch --collectCoverage",
|
||
|
"coverage": "npm run tidy:coverage && jest --collectCoverage",
|
||
|
"validate": "npm run prettier && npm run build && npm run lint && npm run coverage",
|
||
|
"coveralls": "cat ./coverage/lcov.info | coveralls"
|
||
|
},
|
||
|
"dependencies": {},
|
||
|
"devDependencies": {
|
||
|
"@types/jest": "^26.0.14",
|
||
|
"@types/node": "^14.11.2",
|
||
|
"coveralls": "^3.1.0",
|
||
|
"jest": "^26.4.2",
|
||
|
"nodemon": "^2.0.4",
|
||
|
"prettier": "^2.1.2",
|
||
|
"rimraf": "^3.0.2",
|
||
|
"ts-jest": "^26.4.0",
|
||
|
"tslint": "^5.20.1",
|
||
|
"typescript": "^4.0.3",
|
||
|
"typestrict": "^1.0.2"
|
||
|
},
|
||
|
"jest": {
|
||
|
"transform": {
|
||
|
"^.+\\.(ts|tsx)$": "<rootDir>/node_modules/ts-jest/preprocessor.js"
|
||
|
},
|
||
|
"roots": [
|
||
|
"src"
|
||
|
],
|
||
|
"collectCoverage": false,
|
||
|
"collectCoverageFrom": [
|
||
|
"src/**/*.ts"
|
||
|
],
|
||
|
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx)$",
|
||
|
"moduleFileExtensions": [
|
||
|
"ts",
|
||
|
"tsx",
|
||
|
"js",
|
||
|
"json"
|
||
|
]
|
||
|
}
|
||
|
}
|