forked from loiane/javascript-datastructures-algorithms
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
86 lines (86 loc) · 2.92 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
{
"name": "javascript-datastructures-algorithms",
"version": "0.0.1",
"description": "Learning JavaScript Data Structures and Algorithms",
"repository": {
"type": "git",
"url": "git+https://github.com/loiane/javascript-datastructures-algorithms.git"
},
"keywords": [],
"author": "Loiane Groner",
"license": "MIT",
"bugs": {
"url": "https://github.com/loiane/javascript-datastructures-algorithms/issues"
},
"homepage": "https://github.com/loiane/javascript-datastructures-algorithms",
"scripts": {
"clean": "rm -rf ./dist ./coverage ./.nyc_output ./coverage.lcov ./mochawesome-report",
"build:js": "babel src/js -d dist/js",
"build:ts": "tsc -p ./ --rootDir ./src/ts",
"build": "npm run build:js && npm run build:ts",
"lint:js": "eslint src/js && eslint test/js",
"lint:ts": "tslint -c tslint.json 'src/ts/**/*.ts' && tslint -c tslint.json 'test/ts/**/*.ts'",
"lint": "npm run lint:js && npm run lint:ts",
"eslintFix": "eslint src/js --fix && eslint test/js --fix",
"test:js": "mocha --compilers js:babel-core/register ./test/js --recursive --reporter mochawesome",
"test:ts": "mocha -r ts-node/register ./test/ts/**/*.spec.ts ./test/ts/**/**/*.spec.ts --recursive",
"test": "npm run test:js && npm run test:ts",
"dev": "npm run clean && npm run lint && npm run webpack && npm run generate-report",
"dev2": "npm run clean && npm run lint && npm run webpack && npm run generate-report2",
"coverage": "npm run generate-report && nyc report --reporter=text-lcov > coverage.lcov && codecov",
"generate-report": "nyc --report-dir coverage npm run test && nyc report --reporter=text",
"generate-report2": "nyc --report-dir coverage npm run test",
"go": "npm run clean && npm run lint && npm run build && npm run test",
"webpack": "webpack --env build",
"serve": "http-server"
},
"nyc": {
"include": [
"src/ts/*.ts",
"src/ts/**/*.ts",
"src/js/*.js",
"src/js/**/*.js"
],
"exclude": [
"typings"
],
"extension": [
".ts",
".js"
],
"reporter": [
"json",
"html"
],
"all": true
},
"devDependencies": {
"@types/chai": "^4.1.2",
"@types/mocha": "^5.0.0",
"babel-cli": "^6.26.0",
"babel-core": "^6.26.3",
"babel-eslint": "^10.0.1",
"babel-loader": "^8.0.5",
"babel-plugin-add-module-exports": "^1.0.0",
"babel-plugin-transform-es2015-modules-umd": "^6.24.1",
"babel-preset-env": "^1.7.0",
"chai": "^4.1.2",
"codecov": "^3.7.1",
"eslint": "^5.15.1",
"eslint-config-airbnb-base": "^13.1.0",
"eslint-plugin-import": "^2.16.0",
"istanbul": "^v1.1.0-alpha.1",
"mocha": "^5.0.4",
"mochawesome": "^3.0.2",
"nyc": "11.7.2",
"ts-node": "8.0.3",
"tslint": "5.14.0",
"typescript": "3.3.3333",
"webpack": "^4.29.6",
"webpack-cli": "3.3.0",
"yargs": "13.2.2"
},
"dependencies": {
"http-server": "^0.11.1"
}
}