-
Notifications
You must be signed in to change notification settings - Fork 95
/
package.json
44 lines (44 loc) · 1.29 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
{
"name": "ts2c",
"version": "2.2.9",
"description": "TypeScript/JavaScript to C transpiler",
"main": "ts2c.js",
"bin": {
"ts2c": "./bin/ts2c"
},
"directories": {
"test": "tests"
},
"dependencies": {
"typescript": "2.8.3"
},
"devDependencies": {
"browserify": "^13.0.1",
"browserify-shim": "^3.8.12",
"nyc": "^15.0.0"
},
"browserify": {
"transform": [
"browserify-shim"
]
},
"browserify-shim": {
"typescript": "global:ts"
},
"scripts": {
"prepublishOnly": "tsc",
"build": "tsc && browserify ts2c.js -x typescript -s ts2c -o ts2c.bundle.js",
"publish-gh-pages": "npm run build && mv ts2c.bundle.js 222 && git checkout gh-pages && rm ts2c.bundle.js && mv 222 ts2c.bundle.js && git add ts2c.bundle.js && git commit -m \"updated bundle\" && git push && git checkout master",
"cover": "nyc npm test",
"cloc": "cloc . --exclude-lang=JavaScript --exclude-dir node_modules,package-lock.json,.vscode,sputniktests,tests",
"test": "tsc && cd tests && make -B",
"test-no-valgrind": "tsc && cd tests && make -B VALGRIND=skip",
"test-sputnik": "tsc && cd sputniktests && make -B"
},
"repository": {
"type": "git",
"url": "git://github.com/andrei-markeev/ts2c.git"
},
"author": "Andrei Markeev",
"license": "ISC"
}