|
1 | 1 | {
|
2 | 2 | "name": "jsonfromtable",
|
3 |
| - "version": "1.0.0", |
4 |
| - "description": "Generate json from table table", |
5 |
| - "main": "index.js", |
| 3 | + "version": "2.0.0", |
| 4 | + "description": "Convert html tables to javascript objects, array or json", |
| 5 | + "main": "dist/index.js", |
6 | 6 | "scripts": {
|
7 | 7 | "watch": "tsc -w",
|
8 | 8 | "build": "tsc",
|
9 |
| - "test": "jest" |
| 9 | + "lint": "eslint src/**.ts", |
| 10 | + "test": "jest", |
| 11 | + "clean": "rimraf dist", |
| 12 | + "cb": "yarn clean && yarn build" |
10 | 13 | },
|
11 | 14 | "repository": {
|
12 | 15 | "type": "git",
|
13 | 16 | "url": "git+https://github.com/coderosh/jsonfromtable.git"
|
14 | 17 | },
|
15 |
| - "keywords": [], |
| 18 | + "keywords": [ |
| 19 | + "json from table", |
| 20 | + "table to json", |
| 21 | + "html to json", |
| 22 | + "table parser", |
| 23 | + "html table", |
| 24 | + "table scrapper" |
| 25 | + ], |
16 | 26 | "author": "Roshan Acharya <[email protected]>",
|
17 |
| - "license": "ISC", |
| 27 | + "license": "MIT", |
18 | 28 | "bugs": {
|
19 | 29 | "url": "https://github.com/coderosh/jsonfromtable/issues"
|
20 | 30 | },
|
21 | 31 | "homepage": "https://github.com/coderosh/jsonfromtable#readme",
|
| 32 | + "dependencies": { |
| 33 | + "cheerio": "^1.0.0-rc.10", |
| 34 | + "node-fetch": "^2.6.1" |
| 35 | + }, |
| 36 | + "gitHooks": { |
| 37 | + "pre-commit": "lint-staged && yarn cb && yarn test && git add ." |
| 38 | + }, |
| 39 | + "lint-staged": { |
| 40 | + "*.ts": [ |
| 41 | + "eslint --fix" |
| 42 | + ] |
| 43 | + }, |
22 | 44 | "devDependencies": {
|
23 | 45 | "@types/jest": "^26.0.23",
|
24 | 46 | "@types/node": "^15.12.4",
|
25 | 47 | "@types/node-fetch": "^2.5.10",
|
| 48 | + "@typescript-eslint/eslint-plugin": "^4.27.0", |
| 49 | + "@typescript-eslint/parser": "^4.27.0", |
| 50 | + "eslint": "^7.29.0", |
| 51 | + "eslint-config-prettier": "^8.3.0", |
| 52 | + "eslint-config-standard": "^16.0.3", |
| 53 | + "eslint-plugin-import": "^2.23.4", |
| 54 | + "eslint-plugin-node": "^11.1.0", |
| 55 | + "eslint-plugin-prettier": "^3.4.0", |
| 56 | + "eslint-plugin-promise": "^5.1.0", |
26 | 57 | "jest": "^27.0.4",
|
| 58 | + "lint-staged": "^11.0.0", |
| 59 | + "prettier": "^2.3.1", |
| 60 | + "rimraf": "^3.0.2", |
27 | 61 | "ts-jest": "^27.0.3",
|
28 | 62 | "ts-node": "^10.0.0",
|
29 |
| - "typescript": "^4.3.4" |
30 |
| - }, |
31 |
| - "dependencies": { |
32 |
| - "cheerio": "^1.0.0-rc.10", |
33 |
| - "node-fetch": "^2.6.1" |
| 63 | + "typescript": "^4.3.4", |
| 64 | + "yorkie": "^2.0.0" |
34 | 65 | }
|
35 | 66 | }
|
0 commit comments