-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
61 lines (61 loc) · 1.67 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
{
"name": "@gradiant/xapi-dsl",
"version": "1.18.1",
"description": "Gradiant XAPI constants for xAPI",
"license": "Mozilla Public License Version 2.0",
"author": "Lorens León <[email protected]>",
"engines": {
"node": ">=8"
},
"maintainers": [
"Agustín Cañas <[email protected]>"
],
"contributors": [
"Agustín Cañas <[email protected]>",
"Jose Vilas <[email protected]>"
],
"repository": {
"type": "git",
"url": "https://github.com/Gradiant/gradiant-xapi-dsl"
},
"main": "index.js",
"types": "index.d.ts",
"scripts": {
"test": "tslint 'src/**/*.{js,ts}' && prettier -l 'src/**/*.{js,ts}' && ./node_modules/typescript/bin/tsc --noEmit",
"build": "./node_modules/typescript/bin/tsc",
"clean": "rm -rf dsl types index.js index.d.ts index.d.ts.map",
"lint": "prettier --write 'src/**/*.{js,ts}' && tslint --fix 'src/**/*.{js,ts}'",
"dsl:print": "node -r ts-node/register/transpile-only -p \"JSON.stringify(require('./src').dsl, null, 2)\" > dsl-definition.json",
"publish": "npm run clean && npm run build && npm run dsl:print && npm publish"
},
"devDependencies": {
"lint-staged": "^12.3.7",
"prettier": "2.6.2",
"ts-node": "^10.7.0",
"tslint": "^5.15.0",
"typescript": "3.8.2"
},
"lint-staged": {
"linters": {
"src/**/*.{js,ts}": [
"prettier --write",
"tslint --fix",
"git add"
],
"*.{md,json}": [
"prettier --write",
"git add"
]
},
"ignore": [
"package.json",
"package-lock.json",
"tsconfig.json"
]
},
"prettier": {
"singleQuote": true,
"printWidth": 140,
"tabWidth": 2
}
}