-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
88 lines (88 loc) · 2.5 KB
/
package.json
File metadata and controls
88 lines (88 loc) · 2.5 KB
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
87
88
{
"name": "@arijusg/bogus-api",
"version": "0.1.2",
"description": "Api mocking framework",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"private": false,
"keywords": [
"test",
"api"
],
"files": [
"dist"
],
"scripts": {
"build": "rm -rf dist && tsc",
"lint2": "tslint --fix --verbose --type-check --project tsconfig.json -c tslint.json 'src/**/*.ts'",
"lint": "tslint --project tsconfig.json --format verbose -c tslint.json",
"test": "export TS_NODE_CACHE='false' && nyc _mocha",
"test-dev": "TS_NODE_CACHE='false' mocha -w",
"test-dev-wip": "TS_NODE_CACHE='false' _mocha -w --grep 'wip'",
"pre-commit": "ts-node scripts/precommit.ts",
"sonar": "export CURRENT_VERSION=$(node -p \"require('./package.json').version\") && sonar-scanner -Dsonar.host.url=$SONAR_HOST_URL -Dsonar.login=$SONAR_TOKEN -Dsonar.projectVersion=$CURRENT_VERSION -Dsonar.analysis.buildNumber=$TRAVIS_BUILD_NUMBER -Dsonar.analysis.pipeline=$TRAVIS_BUILD_NUMBER -Dsonar.analysis.sha1=$TRAVIS_COMMIT -Dsonar.analysis.repository=$TRAVIS_REPO_SLUG",
"sonar-local": "sonar-scanner",
"preversion": "npm test",
"postversion": "git push && git push --tags && rm -rf build/temp"
},
"author": "Arijus Gilbrantas",
"license": "MIT",
"repository": {
"url": "https://github.com/arijusg/bogus-api.git",
"type": "git"
},
"devDependencies": {
"@types/body-parser": "1.17.0",
"@types/chai": "4.1.7",
"@types/cookie-parser": "1.4.1",
"@types/errorhandler": "0.0.32",
"@types/express": "4.16.0",
"@types/method-override": "0.0.31",
"@types/mocha": "5.2.5",
"@types/morgan": "1.7.35",
"@types/node": "10.12.12",
"@types/request": "2.48.1",
"chai": "4.2.0",
"mocha": "5.2.0",
"nyc": "13.1.0",
"pre-commit": "1.2.2",
"request": "2.88.0",
"sonarqube-scanner": "2.1.2",
"source-map-support": "0.5.9",
"ts-node": "7.0.1",
"tslint": "5.11.0",
"tslint-sonarts": "1.8.0",
"typescript": "3.2.2"
},
"pre-commit": [
"pre-commit"
],
"nyc": {
"extension": [
".ts",
".tsx"
],
"include": [
"src/**/*.ts"
],
"exclude": [
"**/*.d.ts",
"**/*.spec.ts"
],
"reporter": [
"lcov",
"text",
"text-summary"
],
"all": true
},
"dependencies": {
"body-parser": "1.18.3",
"cookie-parser": "1.4.3",
"errorhandler": "1.5.0",
"express": "4.16.4",
"json-server": "0.14.0",
"method-override": "3.0.0",
"morgan": "1.9.1"
}
}