scrapers/nus-v2/package.json
{
"name": "nus-v2",
"version": "1.0.0",
"main": "src/index.ts",
"repository": "https://github.com/nusmodifications/nusmods",
"license": "MIT",
"private": true,
"scripts": {
"scrape": "node build/index.js",
"dev": "yarn build && node build/index.js",
"docs": "cp swagger.yaml docs/* data/",
"bunyan": "bunyan -L -o short --color",
"build": "tsc -p tsconfig.prod.json",
"lint": "tsc --noEmit && yarn lint:code",
"lint:code": "eslint --ext .js,.ts src",
"test": "jest --coverage",
"test:watch": "jest --watch",
"antlr4ts": "antlr4ts -no-listener -visitor src/services/requisite-tree/antlr4/NusMods.g4 -o src/services/requisite-tree/antlr4/"
},
"devDependencies": {
"@types/bunyan": "1.8.8",
"@types/deep-diff": "1.0.2",
"@types/fs-extra": "9.0.13",
"@types/he": "1.2.0",
"@types/jest": "^29.5.2",
"@types/lodash": "4.14.197",
"@types/mock-fs": "4.13.1",
"@types/node": "18.17.6",
"@types/oboe": "2.1.1",
"@types/promise-queue": "2.2.0",
"@types/ramda": "0.29.3",
"@types/yargs": "17.0.24",
"@typescript-eslint/eslint-plugin": "5.62.0",
"@typescript-eslint/parser": "5.62.0",
"antlr4ts-cli": "^0.5.0-alpha.4",
"eslint": "7.32.0",
"eslint-config-airbnb-base": "14.2.1",
"eslint-config-prettier": "7.2.0",
"eslint-plugin-import": "2.28.1",
"eslint-plugin-prettier": "3.4.1",
"http-status": "1.6.2",
"jest": "29.6.2",
"jest-junit": "16.0.0",
"mock-fs": "5.2.0",
"prettier": "2.8.8",
"swagger-ui-dist": "4.19.1",
"ts-jest": "29.1.1",
"ts-node": "10.9.1",
"typescript": "5.1.6"
},
"dependencies": {
"@elastic/elasticsearch": "7.17.12",
"@sentry/node": "5.30.0",
"antlr4ts": "^0.5.0-alpha.4",
"axios": "0.27.2",
"bunyan": "1.8.15",
"date-fns": "2.30.0",
"deep-diff": "1.0.2",
"fs-extra": "9.1.0",
"he": "1.2.0",
"joi": "17.9.2",
"lodash": "4.17.21",
"nusmoderator": "3.0.0",
"oboe": "2.1.5",
"promise-queue": "2.2.5",
"ramda": "0.29.0",
"romanify": "1.0.0",
"yargs": "16.2.0"
},
"engines": {
"node": ">=10"
}
}