-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
125 lines (125 loc) · 3.37 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
{
"name": "@gradiant/smart-xapi-dsl",
"version": "2.23.0",
"description": "Smart XAPI DSL",
"main": "index.js",
"module": "esm/index.js",
"browser": "dist/smart-xapi-dsl.min.js",
"types": "index.d.ts",
"license": "Mozilla Public License Version 2.0",
"author": "Lorens León <[email protected]>",
"maintainers": [
"Agustín Cañas <[email protected]>"
],
"contributors": [
"Agustín Cañas <[email protected]>"
],
"repository": {
"type": "git",
"url": "https://github.com/Gradiant/smart-xapi-dsl"
},
"files": [
"dist",
"esm",
"build",
"src",
"index.js",
"index.d.ts"
],
"dependencies": {
"@gradiant/xapi-dsl": "1.18.1"
},
"devDependencies": {
"@types/chai": "^4.1.7",
"@types/faker": "^4.1.5",
"@types/mocha": "^5.2.6",
"chai": "^4.2.0",
"concurrently": "^4.1.0",
"faker": "^4.1.0",
"husky": "^1.3.1",
"lint-staged": "^8.1.5",
"mocha": "^6.0.2",
"nyc": "^13.3.0",
"parcel-bundler": "^1.11.0",
"prettier": "1.16.4",
"semantic-release": "^15.13.3",
"travis-deploy-once": "^5.0.11",
"ts-node": "^8.0.3",
"tslint": "^5.13.1",
"typedoc": "^0.14.2",
"typedoc-plugin-markdown": "^1.1.27",
"typescript": "^3.3.3333"
},
"scripts": {
"prepublishOnly": "npm run build",
"prebuild": "npm run clean",
"build:esm": "tsc --outDir esm --module es2015",
"build:browser": "parcel build --experimental-scope-hoisting --no-cache --global SmartXapiDsl src/index.ts -o dist/smart-xapi-dsl.min.js", "build:commonjs": "tsc",
"build": "concurrently 'npm:build:*'",
"clean": "rm -rf build reports .cache dist esm",
"test": "mocha --require tests/entry 'tests/**/*.test.ts'",
"ci": "npm run lint && npm test",
"cover": "nyc npm test",
"lint": "tslint '{src,tests}/**/*.{js,ts}' && prettier -l '{src,tests}/**/*.{js,ts}'",
"lint:fix": "prettier --write '{src,tests}/**/*.{js,ts}' && tslint --fix '{src,tests}/**/*.{js,ts}'",
"predocs": "rm -rf docs node_modules/typedoc/node_modules/typescript",
"docs": "typedoc --tsconfig tsconfig.docs.json --out docs --mode file --readme none --hideGenerator --excludePrivate --includeDeclarations --excludeNotExported --name 'SMART xAPI DSL'",
"docs:md": "npm run docs -- --theme markdown --mdEngine github",
"postdocs:md": "find docs/ -type f | gxargs -i gsed -i -E 's|/blob/[^/]*/|/blob/master/|g' '{}'"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && npm run docs:md && git add docs",
"post-commit": "git update-index --again"
}
},
"lint-staged": {
"linters": {
"{src,tests}/**/*.{js,ts}": [
"prettier --write",
"tslint --fix",
"git add"
],
"*.{md,json}": [
"prettier --write",
"git add"
]
},
"ignore": [
"package.json",
"tsconfig.json"
]
},
"nyc": {
"include": [
"src/**/*.ts"
],
"extension": [
".ts"
],
"exclude": [
"**/*.d.ts",
"build/**",
"tests/**",
"node_modules/**"
],
"reporter": [
"clover",
"cobertura",
"html",
"json",
"lcov",
"text",
"text-summary"
],
"clean": true,
"temp-dir": "reports/.nyc_ouptut",
"report-dir": "reports/coverage",
"all": true
},
"prettier": {
"singleQuote": true,
"printWidth": 140,
"tabWidth": 2
}
}