forked from Brightspace/ifrau
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
69 lines (69 loc) · 2.12 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
65
66
67
68
69
{
"name": "ifrau",
"version": "0.22.1",
"description": "Free-range app utility for IFRAME-based FRAs",
"main": "src/index.js",
"scripts": {
"prebrowserify": "rimraf dist && mkdir dist && cd dist && mkdir ifrau",
"browserify": "npm run browserify:full && npm run browserify:client && npm run browserify:host",
"browserify:client": "browserify -g uglifyify -s ifrau/client ./client.js > ./dist/ifrau/client.js",
"browserify:host": "browserify -g uglifyify -s ifrau/host ./host.js > ./dist/ifrau/host.js",
"browserify:full": "browserify -g uglifyify -s ifrau ./src/index.js > ./dist/ifrau.js",
"lint": "eslint .",
"publish:cdn": "frau-publisher | peanut-gallery",
"test:unit": "istanbul cover node_modules/mocha/bin/_mocha -- -R spec --recursive",
"pretest": "npm run browserify",
"test": "npm run lint -s && npm run test:unit -s",
"report-coverage": "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage"
},
"config": {
"frauPublisher": {
"files": "./dist/**/*.js",
"moduleType": "lib",
"targetDirectory": "ifrau",
"creds": {
"key": "AKIAIFWDFE37W7LZ52XQ",
"secretVar": "CDN_SECRET"
},
"versionVar": "TRAVIS_TAG"
}
},
"repository": {
"type": "git",
"url": "https://github.com/Brightspace/ifrau.git"
},
"keywords": [
"d2l",
"frau",
"iframe",
"postMessage"
],
"author": "D2L Corporation",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/Brightspace/ifrau/issues"
},
"homepage": "https://github.com/Brightspace/ifrau",
"dependencies": {
"iframe-resizer": "^3.5.0",
"inherits": "^2.0.1",
"lie": "^3.0.2",
"uuid": "^3.1.0"
},
"devDependencies": {
"browserify": "^13.0.0",
"chai": "^3.5.0",
"chai-things": "^0.2.0",
"coveralls": "^2.11.6",
"eslint": "^4.13.1",
"eslint-config-brightspace": "0.4.0",
"frau-publisher": "^2.5.2",
"istanbul": "^0.4.2",
"mocha": "^2.4.5",
"peanut-gallery": "^1.1.1",
"rimraf": "^2.5.1",
"sinon": "^1.17.3",
"sinon-chai": "^2.8.0",
"uglifyify": "^3.0.1"
}
}