95 lines
2.6 KiB
JSON
95 lines
2.6 KiB
JSON
|
{
|
||
|
"author": {
|
||
|
"email": "gajus@gajus.com",
|
||
|
"name": "Gajus Kuizinas",
|
||
|
"url": "http://gajus.com"
|
||
|
},
|
||
|
"dependencies": {
|
||
|
"ajv": "^8.0.1",
|
||
|
"lodash.clonedeep": "^4.5.0",
|
||
|
"lodash.truncate": "^4.4.2",
|
||
|
"slice-ansi": "^4.0.0",
|
||
|
"string-width": "^4.2.0",
|
||
|
"strip-ansi": "^6.0.0"
|
||
|
},
|
||
|
"description": "Formats data into a string table.",
|
||
|
"devDependencies": {
|
||
|
"@types/chai": "^4.2.16",
|
||
|
"@types/lodash.clonedeep": "^4.5.6",
|
||
|
"@types/lodash.mapvalues": "^4.6.6",
|
||
|
"@types/lodash.truncate": "^4.4.6",
|
||
|
"@types/mocha": "^8.2.2",
|
||
|
"@types/node": "^14.14.37",
|
||
|
"@types/sinon": "^10.0.0",
|
||
|
"@types/slice-ansi": "^4.0.0",
|
||
|
"ajv-cli": "^5.0.0",
|
||
|
"ajv-keywords": "^5.0.0",
|
||
|
"chai": "^4.2.0",
|
||
|
"chalk": "^4.1.0",
|
||
|
"coveralls": "^3.1.0",
|
||
|
"eslint": "^7.16.0",
|
||
|
"eslint-config-canonical": "^25.0.0",
|
||
|
"gitdown": "^3.1.3",
|
||
|
"husky": "^4.3.6",
|
||
|
"js-beautify": "^1.13.0",
|
||
|
"lodash.mapvalues": "^4.6.0",
|
||
|
"mkdirp": "^1.0.4",
|
||
|
"mocha": "^8.2.1",
|
||
|
"nyc": "^15.1.0",
|
||
|
"semantic-release": "^17.3.1",
|
||
|
"sinon": "^9.2.2",
|
||
|
"ts-node": "^9.1.1",
|
||
|
"typescript": "4.2.4"
|
||
|
},
|
||
|
"engines": {
|
||
|
"node": ">=10.0.0"
|
||
|
},
|
||
|
"husky": {
|
||
|
"hooks": {
|
||
|
"post-commit": "npm run create-readme && git add README.md && git commit -m 'docs: generate docs' --no-verify",
|
||
|
"pre-commit": "npm run build && npm run lint && npm run test"
|
||
|
}
|
||
|
},
|
||
|
"keywords": [
|
||
|
"ascii",
|
||
|
"text",
|
||
|
"table",
|
||
|
"align",
|
||
|
"ansi"
|
||
|
],
|
||
|
"license": "BSD-3-Clause",
|
||
|
"main": "./dist/index.js",
|
||
|
"files": [
|
||
|
"dist/**/*.js",
|
||
|
"dist/**/*.d.ts"
|
||
|
],
|
||
|
"name": "table",
|
||
|
"nyc": {
|
||
|
"extensions": [
|
||
|
".ts"
|
||
|
],
|
||
|
"exclude": [
|
||
|
"src/generated/validators.js",
|
||
|
"test/**/*.ts"
|
||
|
],
|
||
|
"reporter": [
|
||
|
"text-lcov",
|
||
|
"text"
|
||
|
]
|
||
|
},
|
||
|
"repository": {
|
||
|
"type": "git",
|
||
|
"url": "https://github.com/gajus/table"
|
||
|
},
|
||
|
"scripts": {
|
||
|
"compile": "tsc",
|
||
|
"prebuild": "rm -fr ./dist && mkdirp dist",
|
||
|
"build": "npm run create-validators && npm run compile",
|
||
|
"create-readme": "gitdown ./.README/README.md --output-file ./README.md",
|
||
|
"create-validators": "rm -fr ./src/generated && mkdirp ./src/generated && ajv compile --all-errors --inline-refs=false -s src/schemas/config -s src/schemas/streamConfig -r src/schemas/shared -c ajv-keywords/dist/keywords/typeof -o | js-beautify > ./src/generated/validators.js",
|
||
|
"lint": "eslint --ignore-path .gitignore ./src ./test",
|
||
|
"test": "npm run create-validators && mocha --require ts-node/register \"./test/**/*.ts\""
|
||
|
},
|
||
|
"version": "6.7.1"
|
||
|
}
|