forked from TypeScriptToLua/TypeScriptToLua
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
73 lines (73 loc) · 2.31 KB
/
package.json
File metadata and controls
73 lines (73 loc) · 2.31 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
{
"name": "typescript-to-lua",
"license": "MIT",
"version": "0.15.2",
"repository": "https://github.com/Perryvw/TypescriptToLua",
"keywords": [
"typescript",
"lua",
"tstl",
"transpiler"
],
"files": [
"dist/**/*.js",
"dist/**/*.lua",
"dist/**/*.ts"
],
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"build": "tsc -p tsconfig.json && npm run build-lualib",
"build-lualib": "ts-node ./build_lualib.ts",
"pretest": "npm run clean && npm run style-check && npm run build && tsc -p ./test/tsconfig.json",
"test": "node ./test/runner.js",
"posttest": "npm run clean",
"coverage": "nyc --source-map=true npm test && nyc report --reporter=text-lcov > coverage.lcov",
"coverage-html": "nyc --source-map=true npm test && nyc report --reporter=html",
"test-threaded": "npm run pretest && node ./test/threaded_runner.js && npm run posttest",
"test-fast": "npm run pretest && node ./test/runner.js --ignoreDiagnostics && npm run posttest",
"clean": "rimraf \"src/**/*.js\" \"src/**/*.js.map\" \"test/**/*.js\" \"test/**/*.js.map\" \"test/compiler/testfiles/*.lua\"",
"release-patch": "npm version patch",
"release-minor": "npm version minor",
"release-major": "npm version major",
"preversion": "npm run build && npm test",
"postversion": "git push && git push --tags",
"style-check": "tslint -p . && tslint -c ./tslint.json src/lualib/*.ts"
},
"bin": {
"tstl": "./dist/tstl.js"
},
"nyc": {
"all": true,
"extension": [
".ts"
],
"include": [
"src/**/*"
],
"exclude": [
"src/lualib/*"
]
},
"engines": {
"node": ">=8.5.0"
},
"dependencies": {
"typescript": "^3.3.1"
},
"devDependencies": {
"@types/glob": "^5.0.35",
"@types/node": "^9.6.23",
"alsatian": "^2.3.0",
"codecov": "3.0.2",
"deep-equal": "^1.0.1",
"fengari": "^0.1.2",
"flatted": "^2.0.0",
"glob": "^7.1.2",
"nyc": "^13.3.0",
"rimraf": "^2.6.3",
"threads": "^0.12.0",
"ts-node": "^7.0.0",
"tslint": "^5.10.0"
}
}