|
14 | 14 | },
|
15 | 15 | "homepage": "https://github.com/loiane/javascript-datastructures-algorithms",
|
16 | 16 | "scripts": {
|
17 |
| - "clean": "rm -rf ./dist ./coverage ./.nyc_output ./coverage.lcov", |
| 17 | + "clean": "rm -rf ./dist ./coverage ./.nyc_output ./coverage.lcov ./mochawesome-report", |
18 | 18 | "build:js": "babel src/js -d dist/js",
|
19 | 19 | "build:ts": "tsc -p ./ --rootDir ./src/ts",
|
20 | 20 | "build": "npm run build:js && npm run build:ts",
|
21 | 21 | "lint:js": "eslint src/js && eslint test/js",
|
22 | 22 | "lint:ts": "tslint -c tslint.json 'src/ts/**/*.ts' && tslint -c tslint.json 'test/ts/**/*.ts'",
|
23 | 23 | "lint": "npm run lint:js && npm run lint:ts",
|
24 |
| - "test:js": "mocha --compilers js:babel-core/register ./test/js/**/*.spec.js", |
| 24 | + "test:js": "mocha --compilers js:babel-core/register ./test/js/**/*.spec.js --reporter mochawesome", |
25 | 25 | "test:ts": "mocha -r ts-node/register --recursive ./test/ts/**/*.spec.ts",
|
26 | 26 | "test": "npm run test:js && npm run test:ts",
|
27 | 27 | "dev": "npm run clean && npm run lint && npm run generate-report",
|
28 | 28 | "coverage": "npm run generate-report && nyc report --reporter=text-lcov > coverage.lcov && codecov",
|
29 | 29 | "generate-report": "nyc --report-dir coverage npm run test && nyc report --reporter=text",
|
30 |
| - "go": "npm run clean && npm run lint && npm run build && npm run test" |
| 30 | + "go": "npm run clean && npm run lint && npm run build && npm run test", |
| 31 | + "webpack": "webpack --env build" |
31 | 32 | },
|
32 | 33 | "nyc": {
|
33 | 34 | "include": [
|
|
55 | 56 | "babel-cli": "^6.26.0",
|
56 | 57 | "babel-core": "^6.26.0",
|
57 | 58 | "babel-eslint": "^8.0.0",
|
| 59 | + "babel-loader": "^7.1.2", |
58 | 60 | "babel-plugin-add-module-exports": "^0.2.1",
|
59 | 61 | "babel-plugin-transform-es2015-modules-umd": "^6.24.1",
|
60 | 62 | "babel-preset-env": "^1.6.0",
|
|
65 | 67 | "eslint-plugin-import": "^2.7.0",
|
66 | 68 | "istanbul": "^v1.1.0-alpha.1",
|
67 | 69 | "mocha": "^3.5.0",
|
| 70 | + "mochawesome": "^2.3.1", |
68 | 71 | "nyc": "^11.2.1",
|
69 | 72 | "ts-node": "^3.3.0",
|
70 | 73 | "tslint": "^5.7.0",
|
71 |
| - "typescript": "^2.5.2" |
| 74 | + "typescript": "^2.5.2", |
| 75 | + "webpack": "^3.6.0", |
| 76 | + "yargs": "^9.0.1" |
72 | 77 | }
|
73 | 78 | }
|
0 commit comments