X-Git-Url: https://git.josue.xyz/?a=blobdiff_plain;ds=sidebyside;f=.config%2Fcoc%2Fextensions%2Fnode_modules%2Fcoc-prettier%2Fnode_modules%2Ftable%2Fpackage.json;h=d8e7a1e73a91b629baa1e9b2bde547691bedb415;hb=3be0a9efc698a9570a44456009afc6014812625a;hp=0f5542f7f7f6977f2808c9d5f018e04a24498f25;hpb=d2f432cc757f42f0318fdddcab8c00b240d47088;p=dotfiles%2F.git diff --git a/.config/coc/extensions/node_modules/coc-prettier/node_modules/table/package.json b/.config/coc/extensions/node_modules/coc-prettier/node_modules/table/package.json index 0f5542f7..d8e7a1e7 100644 --- a/.config/coc/extensions/node_modules/coc-prettier/node_modules/table/package.json +++ b/.config/coc/extensions/node_modules/coc-prettier/node_modules/table/package.json @@ -6,44 +6,38 @@ }, "dependencies": { "ajv": "^8.0.1", - "is-boolean-object": "^1.1.0", - "is-number-object": "^1.0.4", - "is-string": "^1.0.5", - "lodash.clonedeep": "^4.5.0", - "lodash.flatten": "^4.4.0", "lodash.truncate": "^4.4.2", "slice-ansi": "^4.0.0", - "string-width": "^4.2.0" + "string-width": "^4.2.3", + "strip-ansi": "^6.0.1" }, "description": "Formats data into a string table.", "devDependencies": { - "@babel/cli": "^7.12.10", - "@babel/core": "^7.12.10", - "@babel/node": "^7.12.10", - "@babel/plugin-transform-flow-strip-types": "^7.12.10", - "@babel/preset-env": "^7.12.11", - "@babel/register": "^7.12.10", + "@types/chai": "^4.2.16", + "@types/lodash.mapvalues": "^4.6.6", + "@types/lodash.truncate": "^4.4.6", + "@types/mocha": "^9.0.0", + "@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", - "babel-plugin-istanbul": "^6.0.0", - "babel-plugin-transform-export-default-name": "^2.1.0", "chai": "^4.2.0", "chalk": "^4.1.0", "coveralls": "^3.1.0", - "eslint": "^7.16.0", + "eslint": "^7.32.0", "eslint-config-canonical": "^25.0.0", - "flow-bin": "^0.141.0", - "flow-copy-source": "^2.0.9", - "gitdown": "^3.1.3", + "gitdown": "^3.1.4", "husky": "^4.3.6", - "js-beautify": "^1.13.0", + "js-beautify": "^1.14.0", "lodash.mapvalues": "^4.6.0", - "lodash.random": "^3.2.0", - "lodash.sample": "^4.2.1", + "mkdirp": "^1.0.4", "mocha": "^8.2.1", "nyc": "^15.1.0", "semantic-release": "^17.3.1", - "sinon": "^9.2.2" + "sinon": "^12.0.1", + "ts-node": "^9.1.1", + "typescript": "4.5.2" }, "engines": { "node": ">=10.0.0" @@ -51,7 +45,7 @@ "husky": { "hooks": { "post-commit": "npm run create-readme && git add README.md && git commit -m 'docs: generate docs' --no-verify", - "pre-commit": "npm run lint && npm run test && npm run build" + "pre-commit": "npm run build && npm run lint && npm run test" } }, "keywords": [ @@ -62,31 +56,23 @@ "ansi" ], "license": "BSD-3-Clause", - "main": "./dist/index.js", + "main": "./dist/src/index.js", + "files": [ + "dist/src/**/*.js", + "dist/src/**/*.d.ts" + ], "name": "table", - "nyc": { - "include": [ - "src/**/*.js" - ], - "instrument": false, - "reporter": [ - "text-lcov" - ], - "require": [ - "@babel/register" - ], - "sourceMap": false - }, "repository": { "type": "git", "url": "https://github.com/gajus/table" }, "scripts": { - "build": "rm -fr ./dist && NODE_ENV=production babel ./src --out-dir ./dist --copy-files --source-maps && npm run create-validators && flow-copy-source src dist", + "prebuild": "rm -fr ./src/generated && mkdirp ./src/generated", + "build": "npm run create-validators && tsc", "create-readme": "gitdown ./.README/README.md --output-file ./README.md", - "create-validators": "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 > dist/validators.js", - "lint": "npm run build && eslint ./src ./test && flow", - "test": "mocha --require @babel/register" + "create-validators": "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 ./src ./test", + "test": "nyc mocha && nyc check-coverage --lines 95" }, - "version": "6.0.8" + "version": "6.7.5" }