-
Notifications
You must be signed in to change notification settings - Fork 12
/
package.json
64 lines (64 loc) · 2.39 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
62
63
64
{
"name": "promise-window",
"version": "1.2.1",
"description": "Lightweight wrapper around window.open() that adds Promise and postMessage support",
"keywords": [
"popup",
"window",
"open",
"window.open",
"promise",
"promise-aplus",
"postMessage"
],
"homepage": "http://amercier.github.io/promise-window/",
"bugs": {
"url": "https://github.com/amercier/promise-window/issues",
"email": "[email protected]"
},
"license": "MIT",
"author": "Alex Mercier <[email protected]> (http://amercier.com/)",
"files": [
"dist/*.js"
],
"main": "dist/promise-window.js",
"repository": {
"type": "git",
"url": "https://github.com/amercier/promise-window/"
},
"scripts": {
"dependencies": "bower install",
"start": "http-server docs -o",
"start-ssl": "npm run openssl && http-server docs --ssl --cors -o",
"openssl": "[ -e cert.pem ] || openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 365 -nodes -subj '/C=EX/ST=Example/L=Example/O=Example/OU=IT Department/CN=example.com'",
"clean": "rm -rf docs/.git docs/api docs/bower_components tests/coverage",
"lint": "jshint --reporter node_modules/jshint-stylish/stylish.js .",
"list": "find tests -maxdepth 1 -type f -name *.html | while read f; do basename \"$f\" .html; done | sed 's/^test-//'",
"tdd": "./node_modules/karma/bin/karma start",
"report": "istanbul report && cat tests/coverage/summary.txt && echo",
"test": "npm run lint && npm run clean && for suite in $([ \"$KARMA_ENV\" = \"\" ] && npm run -s list || echo $KARMA_ENV); do KARMA_ENV=$suite CI=true npm run tdd || exit 1; done && npm run report",
"build": "gulp build",
"docs": "(cd docs && bower install --production) && jsduck src/ --output docs/api --warnings-exit-nonzero"
},
"devDependencies": {
"bower": "^1.3.12",
"codeclimate-test-reporter": "0.0.4",
"coveralls": "^2.11.2",
"gulp": "^3.8.10",
"gulp-rename": "^1.2.0",
"gulp-size": "^1.2.0",
"gulp-uglify": "^1.1.0",
"http-server": "^0.10.0",
"istanbul": "^0.3.5",
"jshint": "^2.6.0",
"jshint-stylish": "^1.0.0",
"karma": "^0.12.31",
"karma-chrome-launcher": "^0.1.7",
"karma-coverage": "^0.2.7",
"karma-phantomjs-launcher": "^0.1.4",
"karma-qunit": "^0.1.4",
"karma-sinon": "^1.0.4",
"qunitjs": "^1.17.1",
"sinon": "^1.12.2"
}
}