Skip to content
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.

Commit

Permalink
Windows build (#868)
Browse files Browse the repository at this point in the history
* Modified package.json to support building on Windows.

* Enabling extensions required for ChromeDriver
  • Loading branch information
Bobby Earl authored and Blackbaud-PatrickOFriel committed Jul 6, 2017
1 parent 14bf2f8 commit d3446c1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
13 changes: 9 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,16 @@
],
"scripts": {
"ci": "npm run lint && npm run test:ci && npm run build",
"build": "npm run clean:srctemp && node config/utils/stage-ts.js && cd .srctemp && ../node_modules/.bin/ngc && cd ../ && npm run compile:sass && cd config/rollup && ../../node_modules/.bin/rollup -c rollup.config.js && ../../node_modules/.bin/rollup -c rollup.min.config.js && npm run clean:srctemp",
"build": "npm run clean:srctemp && node config/utils/stage-ts.js && cd .srctemp && ngc && cd ../ && npm run compile:sass && cd config/rollup && rollup -c rollup.config.js && rollup -c rollup.min.config.js && npm run clean:srctemp",
"clean": "rimraf -- dist",
"clean:full": "npm cache clean && rimraf -- node_modules doc coverage dist .srctemp webdriver-screenshotslocal webdriver-screenshotslocal-diffs skyux-spa-visual-tests/node_modules/ skyux-spa-visual-tests/dist/",
"clean:releases": "rimraf -- releases",
"clean:srctemp": "rimraf -- .srctemp",
"compile:sass": "./node_modules/node-sass/bin/node-sass src/scss/sky.scss dist/css/sky.css",
"compile:sass": "node-sass src/scss/sky.scss dist/css/sky.css",
"lint": "tslint 'src/**/*.ts'",
"ngc": "ngc",
"node-sass": "node-sass",
"rollup": "rollup",
"test": "npm run test:unit && npm run test:visual",
"test:ci": "npm run test:unit:ci && npm run test:visual:ci",
"test:unit": "npm run test:unit:base -- config/karma/local.karma.conf.js",
Expand All @@ -30,11 +33,13 @@
"prebuild": "npm run clean",
"pretest": "npm run lint",
"preversion": "npm test",
"releases": "npm run clean:releases && ./node_modules/.bin/webpack --progress --config ./config/webpack/webpack.releases.js",
"releases": "npm run clean:releases && webpack --progress --config config/webpack/webpack.releases.js",
"start": "webpack-dev-server --config config/webpack/webpack.dev.js --inline --progress --profile --watch --content-base src/",
"start:visual": "node ./config/utils/visual-server.js start",
"version": "npm run build",
"watch": "npm run test:unit -- --auto-watch --no-single-run"
"watch": "npm run test:unit -- --auto-watch --no-single-run",
"webpack": "webpack",
"wdio": "wdio"
},
"peerDependencies": {
"@blackbaud/stache": "2.0.0-beta.9"
Expand Down
2 changes: 1 addition & 1 deletion skyux-spa-visual-tests/config/local.visual.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ config.onPrepare = function () {
config.capabilities = {
'browserName': 'chrome',
'chromeOptions': {
'args': ['--disable-extensions --ignore-certificate-errors']
'args': ['--ignore-certificate-errors']
}
};

Expand Down

0 comments on commit d3446c1

Please sign in to comment.