- Downloads
Merge branch '1-build-url-graph' into 'master'
Showing
- .gitlab-ci.yml 2 additions, 1 deletion.gitlab-ci.yml
- package-lock.json 32 additions, 1 deletionpackage-lock.json
- package.json 4 additions, 2 deletionspackage.json
- src/extractor.ts 155 additions, 5 deletionssrc/extractor.ts
- test/extract-urls.ts 7 additions, 7 deletionstest/extract-urls.ts
- test/process-url.ts 29 additions, 0 deletionstest/process-url.ts
| ... | @@ -8,8 +8,9 @@ | ... | @@ -8,8 +8,9 @@ |
| }, | }, | ||
| "scripts": { | "scripts": { | ||
| "clean": "rm -rf .nyc_output coverage dist test-results.xml", | "clean": "rm -rf .nyc_output coverage dist test-results.xml", | ||
| "test": "mocha --reporter mocha-junit-reporter -r ts-node/register test/**/*.ts", | "test": "mocha --reporter spec -r ts-node/register test/**/*.ts", | ||
| "coverage": "nyc --reporter=html --reporter=cobertura --reporter=text -e .ts -n \"src/**/*.ts\" -x \"test/**/*.ts\" npm run test" | "test-junit": "mocha --reporter mocha-junit-reporter -r ts-node/register test/**/*.ts", | ||
| "coverage": "nyc --reporter=html --reporter=cobertura --reporter=text -e .ts -n \"src/**/*.ts\" -x \"test/**/*.ts\" npm run test-junit" | |||
| }, | }, | ||
| "publishConfig": { | "publishConfig": { | ||
| "@dbogatov:registry": "https://git.dbogatov.org/api/v4/projects/227/packages/npm/" | "@dbogatov:registry": "https://git.dbogatov.org/api/v4/projects/227/packages/npm/" | ||
| ... | @@ -30,6 +31,7 @@ | ... | @@ -30,6 +31,7 @@ |
| "license": "MIT", | "license": "MIT", | ||
| "dependencies": { | "dependencies": { | ||
| "@types/node": "^14.0.13", | "@types/node": "^14.0.13", | ||
| "axios": "^0.19.2", | |||
| "chalk": "^4.1.0", | "chalk": "^4.1.0", | ||
| "commander": "^5.1.0", | "commander": "^5.1.0", | ||
| "htmlparser2": "^4.1.0" | "htmlparser2": "^4.1.0" | ||
| ... | ... | ||
| ... | ... |
test/process-url.ts
0 → 100644
Please sign in to comment
