forked from akira-cn/wait-promise
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
41 lines (41 loc) · 1.44 KB
/
package.json
File metadata and controls
41 lines (41 loc) · 1.44 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
{
"name": "wait-promise",
"version": "0.4.1",
"description": "Make a promise, waiting for a specified amount of time, util something is done.",
"main": "src/wait-promise.js",
"scripts": {
"test": "babel --presets es2015-loose,stage-1 --plugins transform-runtime test/ --out-dir test-app/ && mocha test-app/",
"test-cov": "babel --presets es2015-loose,stage-1 --plugins transform-runtime test/ --out-dir test-app/ && babel src/ --plugins transform-coverage --out-dir test-cov && mocha test-app --reporter=mocha-lcov-reporter > test-cov/coverage.lcov",
"prepublish": "rm -rf dist && mkdir -p dist && npm run build-dev && npm run build-prod",
"build-dev": "browserify --standalone wait src/wait-promise.js > dist/wait-promise.js",
"build-prod": "browserify --standalone wait src/wait-promise.js | uglifyjs -cm > dist/wait-promise.min.js"
},
"keywords": [
"promise",
"node",
"wait",
"before",
"after",
"every",
"and",
"until",
"till",
"async"
],
"devDependencies": {
"browserify": "^13.0.0",
"uglify-js": "^2.6.2",
"request": "*",
"mocha": "^2.3.4",
"mocha-lcov-reporter": "^1.2.0",
"chai": "^3.4.1",
"babel-cli": "6.x.x",
"babel-runtime": "6.x.x",
"babel-preset-es2015-loose": "6.x.x",
"babel-preset-stage-1": "6.x.x",
"babel-plugin-transform-runtime": "6.x.x",
"babel-plugin-transform-coverage": "^0.1.5"
},
"author": "akira-cn",
"license": "MIT"
}