-
Notifications
You must be signed in to change notification settings - Fork 36
/
package.json
78 lines (78 loc) · 3.51 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
70
71
72
73
74
75
76
77
78
{
"name": "brightspace-integration",
"description": "Integration project for components consumed by Brightspace.",
"private": true,
"main": "src/index.js",
"scripts": {
"autoprefix": "postcss -c postcss.config.json",
"build": "npm run build:wc && npm run build:js && npm run build:sass && npm run build:icons && npm run build:navicons && npm run build:email-icons",
"build:js": "rollup -c ./rollup/rollup.config.js -o ./build/bsi.js -- ./js/index.js",
"postbuild:js": "npm run uglify:js",
"build:sass": "npm run build:sass:bsi && npm run build:sass:datagrid && npm run build:sass:homepages",
"build:sass:bsi": "node-sass --output-style expanded ./sass/bsi.scss ./build/bsi.css",
"build:sass:datagrid": "node-sass --output-style expanded ./sass/datagrid/datagrid.scss ./build/datagrid.css",
"build:sass:homepages": "node-sass --output-style expanded ./sass/homepages/homepages.scss ./build/homepages.css",
"postbuild:sass": "npm run autoprefix && npm run uglify:css",
"build:icons": "cpy --parents --cwd=bower_components/d2l-icons \"images/**/*.*\" ../../build",
"build:navicons": "cpy \"nav-icons/*.*\" build/images/nav-icons",
"build:email-icons": "node build-email-icons.js",
"build:wc": "polymer build",
"postbuild:wc": "npm run jsonpify-imports",
"postinstall": "polymer install",
"lint": "npm run lint:js && npm run lint:html",
"lint:html": "eslint web-components/*.html",
"lint:js": "eslint *.js js/** rollup/** test/**",
"publish:cdn": "frau-publisher -m lib -t bsi -f \"./build/**/*\" -k AKIAIZGPQIRSA2WEJEDA --secretvar CDN_SECRET --versionvar TRAVIS_TAG",
"preserve": "npm run build",
"serve": "http-server build --cors",
"test": "npm run lint && npm run test:unit",
"test:unit": "mocha",
"uglify:css": "npm run uglify:css:bsi && npm run uglify:css:datagrid && npm run uglify:css:homepages",
"uglify:css:bsi": "cleancss -s ./build/bsi.css -o ./build/bsi.min.css -c",
"uglify:css:datagrid": "cleancss -s ./build/datagrid.css -o ./build/datagrid.min.css",
"uglify:css:homepages": "cleancss -s ./build/homepages.css -o ./build/homepages.min.css",
"uglify:js": "uglifyjs ./build/bsi.js --compress --mangle --source-map \"content='build/bsi.js.map',url='bsi.min.js.map'\" -o ./build/bsi.min.js",
"jsonpify-imports": "node jsonp-imports.js \"./build/**/*.html\""
},
"repository": {
"type": "git",
"url": "https://github.com/Brightspace/brightspace-integration.git"
},
"keywords": [],
"author": "D2L Corporation",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/Brightspace/brightspace-integration/issues"
},
"homepage": "https://github.com/Brightspace/brightspace-integration",
"devDependencies": {
"autoprefixer": "^6.4.0",
"bower-locker": "^1.0.7",
"chai": "^3.5.0",
"clean-css": "^3.4.19",
"cpy-cli": "^1.0.1",
"eslint": "^4.19.1",
"eslint-config-brightspace": "0.4.0",
"eslint-plugin-html": "^4.0.2",
"frau-publisher": "^2.5.3",
"fs-extra": "^4.0.2",
"glob": "^7.1.1",
"http-server": "^0.11.1",
"imagemin": "^5.3.1",
"imagemin-optipng": "^5.2.1",
"lie": "^3.3.0",
"mocha": "^3.2.0",
"node-sass": "^4.9.0",
"polymer-cli": "^1.6.0",
"postcss-cli": "^2.6.0",
"rimraf": "^2.5.4",
"rollup": "^0.56.5",
"rollup-plugin-commonjs": "^9.1.0",
"rollup-plugin-json": "^2.3.0",
"rollup-plugin-node-resolve": "^3.3.0",
"sinon": "^1.17.7",
"sinon-chai": "^2.8.0",
"svg2png": "^4.1.1",
"uglify-js": "^3.3.18"
}
}