|
5 | 5 | "url": "http://gajus.com" |
6 | 6 | }, |
7 | 7 | "dependencies": { |
8 | | - "ajv": "^6.2.0", |
9 | | - "lodash": "^4.17.4", |
| 8 | + "ajv": "^6.5.3", |
| 9 | + "lodash": "^4.17.10", |
10 | 10 | "slice-ansi": "1.0.0", |
11 | 11 | "string-width": "^2.1.1" |
12 | 12 | }, |
13 | 13 | "description": "Formats data into a string table.", |
14 | 14 | "devDependencies": { |
| 15 | + "@babel/cli": "^7.0.0", |
| 16 | + "@babel/core": "^7.0.0", |
| 17 | + "@babel/node": "^7.0.0", |
| 18 | + "@babel/preset-env": "^7.0.0", |
| 19 | + "@babel/register": "^7.0.0", |
15 | 20 | "ajv-cli": "^3.0.0", |
16 | | - "ajv-keywords": "^3.1.0", |
17 | | - "babel": "^6.23.0", |
18 | | - "babel-cli": "^6.26.0", |
19 | | - "babel-core": "^6.26.3", |
20 | | - "babel-plugin-istanbul": "^4.1.5", |
21 | | - "babel-preset-env": "^1.7.0", |
22 | | - "babel-register": "^6.26.0", |
| 21 | + "ajv-keywords": "^3.2.0", |
| 22 | + "babel-plugin-istanbul": "^5.0.1", |
| 23 | + "babel-plugin-transform-export-default-name": "^2.0.4", |
23 | 24 | "chai": "^4.1.2", |
24 | | - "chalk": "^2.3.1", |
25 | | - "eslint": "^4.7.2", |
26 | | - "eslint-config-canonical": "^9.3.1", |
27 | | - "gitdown": "^2.5.1", |
28 | | - "husky": "^0.14.3", |
29 | | - "mocha": "^5.0.0", |
30 | | - "nyc": "^11.2.1", |
31 | | - "sinon": "^4.0.0" |
| 25 | + "chalk": "^2.4.1", |
| 26 | + "coveralls": "^3.0.2", |
| 27 | + "eslint": "^5.5.0", |
| 28 | + "eslint-config-canonical": "^12.0.0", |
| 29 | + "gitdown": "^2.5.3", |
| 30 | + "husky": "^1.0.0-rc.13", |
| 31 | + "mocha": "^5.2.0", |
| 32 | + "nyc": "^13.0.1", |
| 33 | + "semantic-release": "^15.9.12", |
| 34 | + "sinon": "^6.1.5" |
32 | 35 | }, |
33 | 36 | "engines": { |
34 | | - "node": ">=4.0.0" |
| 37 | + "node": ">=8.0.0" |
| 38 | + }, |
| 39 | + "husky": { |
| 40 | + "hooks": { |
| 41 | + "pre-commit": "npm run lint && npm run test && npm run build && npm run create-readme && git add README.md && git commit --amend --no-edit --no-verify" |
| 42 | + } |
35 | 43 | }, |
36 | 44 | "keywords": [ |
37 | 45 | "ascii", |
|
45 | 53 | "name": "table", |
46 | 54 | "nyc": { |
47 | 55 | "include": [ |
48 | | - "src/*.js" |
| 56 | + "src/**/*.js" |
49 | 57 | ], |
50 | 58 | "instrument": false, |
51 | | - "lines": 70, |
| 59 | + "reporter": [ |
| 60 | + "text-lcov" |
| 61 | + ], |
52 | 62 | "require": [ |
53 | | - "babel-register" |
| 63 | + "@babel/register" |
54 | 64 | ], |
55 | 65 | "sourceMap": false |
56 | 66 | }, |
|
59 | 69 | "url": "https://github.com/gajus/table" |
60 | 70 | }, |
61 | 71 | "scripts": { |
62 | | - "build": "rm -fr ./dist && NODE_ENV=production babel --copy-files ./src --out-dir ./dist && npm run make-validators", |
63 | | - "lint": "npm run build && eslint ./src ./tests", |
64 | | - "make-readme": "gitdown ./.README/README.md --output-file ./README.md", |
65 | | - "make-validators": "ajv compile --all-errors --inline-refs=false -s src/schemas/config -c ajv-keywords/keywords/typeof -o dist/validateConfig.js && ajv compile --all-errors --inline-refs=false -s src/schemas/streamConfig -c ajv-keywords/keywords/typeof -o dist/validateStreamConfig.js", |
66 | | - "precommit": "npm run lint && npm run test", |
67 | | - "prepublish": "NODE_ENV=production npm run build", |
68 | | - "test": "npm run build && nyc --check-coverage mocha" |
| 72 | + "build": "rm -fr ./dist && NODE_ENV=production babel --copy-files ./src --out-dir ./dist && npm run create-validators", |
| 73 | + "create-readme": "gitdown ./.README/README.md --output-file ./README.md", |
| 74 | + "create-validators": "ajv compile --all-errors --inline-refs=false -s src/schemas/config -c ajv-keywords/keywords/typeof -o dist/validateConfig.js && ajv compile --all-errors --inline-refs=false -s src/schemas/streamConfig -c ajv-keywords/keywords/typeof -o dist/validateStreamConfig.js", |
| 75 | + "lint": "npm run build && eslint ./src ./test", |
| 76 | + "test": "nyc --check-coverage mocha" |
69 | 77 | }, |
70 | | - "version": "4.0.3" |
| 78 | + "version": "1.0.0" |
71 | 79 | } |
0 commit comments