-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
61 lines (61 loc) · 2.17 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": "ts-promise",
"version": "2.2.0",
"description": "Fast, robust, type-safe promises",
"author": "Martin Poelstra <[email protected]>",
"main": "./dist/lib/index.js",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/poelstra/ts-promise"
},
"keywords": [
"promise",
"typescript",
"promises-aplus"
],
"bugs": {
"url": "https://github.com/poelstra/ts-promise/issues"
},
"homepage": "https://github.com/poelstra/ts-promise",
"scripts": {
"test": "npm run -s build && npm run -s lint && npm run -s mocha",
"mocha": "mocha -R spec dist/test/test-*.js",
"cover": "npm run -s build && istanbul cover --report json _mocha -- -R spec dist/test/test-*.js && remap-istanbul -i coverage/coverage-final.json -t html -o coverage/html-report",
"lint": "tslint -t verbose src/**/*.ts",
"build:src": "cd src/lib && tsc",
"watch:src": "cd src/lib && tsc --watch",
"build:test": "cd src/test && tsc",
"watch:test": "cd src/test && tsc --watch",
"build": "npm run -s build:test && npm run -s build:src && npm run -s browserify && npm run -s minify",
"clean": "rimraf -rf dist",
"prepare": "npm run -s test",
"prepublishOnly": "npm run -s prepare",
"preversion": "npm install",
"version": "git add package-lock.json",
"browserify": "browserify --node --standalone ts-promise ./dist/lib/index.js > ./dist/browser.js",
"minify": "uglifyjs ./dist/browser.js --compress --mangle --mangle-props --mangle-regex='/^_/' --reserved 'Promise' > ./dist/browser.min.js"
},
"typings": "./dist/lib/index.d.ts",
"types": "./dist/lib/index.d.ts",
"devDependencies": {
"@types/chai": "^4.1.7",
"@types/mocha": "^5.2.7",
"@types/node": "^12.6.8",
"@types/sinon": "^7.0.13",
"@types/source-map-support": "^0.5.0",
"browserify": "^16.3.0",
"chai": "^4.2.0",
"coveralls": "^3.0.5",
"istanbul": "^0.4.5",
"mocha": "^6.2.0",
"promises-aplus-tests": "^2.1.2",
"remap-istanbul": "^0.13.0",
"rimraf": "^2.6.3",
"sinon": "^7.3.2",
"source-map-support": "^0.5.12",
"tslint": "^5.18.0",
"typescript": "3.5.3",
"uglify-js": "^3.6.0"
}
}