diff --git a/package-lock.json b/package-lock.json index e19f547..2d4d2f4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -22,6 +22,7 @@ "@types/chai": "^4.2.15", "@types/cheerio": "^0.22.24", "@types/expect": "^24.3.0", + "@types/lodash": "^4.14.168", "@types/luxon": "^1.25.2", "@types/md5": "^2.3.0", "@types/mocha": "^8.2.0", @@ -522,6 +523,12 @@ "dev": true, "optional": true }, + "node_modules/@types/lodash": { + "version": "4.14.168", + "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.168.tgz", + "integrity": "sha512-oVfRvqHV/V6D1yifJbVRU3TMp8OT6o6BG+U9MkwuJ3U8/CsDHvalRpsxBqivn71ztOFZBTfJMvETbqHiaNSj7Q==", + "dev": true + }, "node_modules/@types/luxon": { "version": "1.25.2", "resolved": "https://registry.npmjs.org/@types/luxon/-/luxon-1.25.2.tgz", @@ -5251,6 +5258,12 @@ "dev": true, "optional": true }, + "@types/lodash": { + "version": "4.14.168", + "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.168.tgz", + "integrity": "sha512-oVfRvqHV/V6D1yifJbVRU3TMp8OT6o6BG+U9MkwuJ3U8/CsDHvalRpsxBqivn71ztOFZBTfJMvETbqHiaNSj7Q==", + "dev": true + }, "@types/luxon": { "version": "1.25.2", "resolved": "https://registry.npmjs.org/@types/luxon/-/luxon-1.25.2.tgz", diff --git a/package.json b/package.json index 909e384..d75e1b6 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,8 @@ "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": "npm run compile && node ./dist/example.ts", - "run-devtest": "npm run compile && node ./dist/test.js" + "run-devtest": "npm run compile && node ./dist/test.js", + "test-ts": "set TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' mocha -r ts-node/register 'tests/**/*.ts'" }, "engines": { "node": ">=10.0" @@ -47,6 +48,7 @@ "@types/chai": "^4.2.15", "@types/cheerio": "^0.22.24", "@types/expect": "^24.3.0", + "@types/lodash": "^4.14.168", "@types/luxon": "^1.25.2", "@types/md5": "^2.3.0", "@types/mocha": "^8.2.0",