Add scripts and dependencies

pull/73/head
MillenniumEarl 2021-02-15 21:28:08 +01:00
parent 570b1295d4
commit 395e2352b7
2 changed files with 837 additions and 1117 deletions

1932
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,6 @@
{
"main": "./app/index.js",
"type": "module",
"name": "f95api",
"version": "1.9.9",
"author": "Millennium Earl",
@ -22,16 +23,16 @@
"user data"
],
"scripts": {
"test": "nyc --reporter=text mocha './test/index-test.js'",
"test": "nyc --reporter=text mocha './test/index-test.ts'",
"report-coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov -t 38ad72bf-a29d-4c2e-9827-96cbe037afd2",
"run-example": "node ./app/example.js",
"publish": "npm publish"
"run-example": "node ./src/example.ts",
"publish": "npm publish",
"devtest": "tsc ./src/scripts/scraperv2.ts | node ./src/scripts/scraperv2.js"
},
"engines": {
"node": ">=10.0"
},
"dependencies": {
"awesome-typescript-loader": "^5.2.1",
"axios": "^0.21.0",
"axios-cookiejar-support": "^1.0.1",
"cheerio": "^1.0.0-rc.3",
@ -39,10 +40,11 @@
"log4js": "^6.3.0",
"luxon": "^1.25.0",
"md5": "^2.3.0",
"source-map-loader": "^2.0.1",
"tough-cookie": "^4.0.0"
},
"devDependencies": {
"@types/cheerio": "^0.22.24",
"@types/luxon": "^1.25.2",
"@types/md5": "^2.3.0",
"@types/node": "^14.14.27",
"@types/tough-cookie": "^4.0.0",
@ -54,7 +56,11 @@
"lodash": "^4.17.20",
"mocha": "^8.1.3",
"nyc": "^15.1.0",
"typescript": "^4.2.0-insiders.20210210"
"source-map-loader": "^2.0.1",
"ts-loader": "^8.0.17",
"typescript": "^4.2.0-insiders.20210210",
"webpack": "^5.22.0",
"webpack-cli": "^4.5.0"
},
"bugs": {
"url": "https://github.com/MillenniumEarl/F95API/issues"