This repository has been archived by the owner on May 5, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
73 additions
and
6,167 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,22 @@ | ||
sudo: false | ||
language: node_js | ||
node_js: stable | ||
sudo: false | ||
cache: | ||
yarn: true | ||
directories: | ||
- node_modules | ||
branches: | ||
only: | ||
- master | ||
- /^greenkeeper/.*$/ | ||
before_install: | ||
- yarn global add greenkeeper-lockfile@1 | ||
before_script: greenkeeper-lockfile-update | ||
script: | ||
- yarn run lint | ||
- yarn run test:sauce | ||
- yarn run test | ||
after_script: greenkeeper-lockfile-upload | ||
- npm start lint | ||
- npm start test.sauce | ||
- npm start test | ||
after_success: | ||
- yarn run report-coverage | ||
- yarn run semantic-release | ||
- npm start report-coverage | ||
- npm start semantic-release | ||
notifications: | ||
email: change | ||
env: | ||
- SAUCE_USERNAME=salte-io | ||
addons: | ||
jwt: | ||
secure: PUG+5W5/37H/mFlsVQgVwF9U1ppEM1dR9P7enr19n6gLhtk8m26PtU8ndUXw/HLllnggfEG9/vzS15v0qI9kWFQFio/Te2X1qsBZQONtmAaJhQOJf1JF50IcrS0sqJH0sMOFN+t7+gRkVldu8HUwx/dU8SNLxZ+fJbwqRNv24yAw758VeeHdw7/bhLZgX6hgkBy8Fj3yKzbFMi5ckM8IuMgTPkcIE+vs358Y9+t2uOXXOw/7PEdU32+sLkt5gmfkbh9F/8UFxx82tfdPNPQQxjdOvi9RM9+M08kTqwMcyaaV+GZVM580oQE6nrjGMlQEwXvK4zKJHtSG/6mziUUS+XOv8PpvWvxIp340i/LUx6oHdNQ9qn7qOvluRgBToZuJ+a8iBMahn4X3+sNammCriG2pRZlu8RopS5+sW4SrkadkzZpgTOb6VvrU1dxgQGBvV1QU8FAQ4ejp6CMBAw4WlzYk9qAD7YKbxITUGDU5d5u3Wjd7atHNByS6EAAQsROUpHQX6QQo2OdiGyFr5Ze8bWfSJiDMqqi4ncV2Zrj++6wHh516+35E5oWEZL2xZ0p3Z696svAyEWUu0znBWgDr4j9yhXq50fUL8sbAwol1pu6Q/aC51R22PUieNVy/DRI5UjBhnVbc+n97KJi6oUl7eNK10qQ+s+qh/eekePBToC4= |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
scripts: | ||
lint: | ||
default: | ||
script: eslint src/**/*.js tests/**/*.js | ||
description: Checks for any formatting errors | ||
reformat: | ||
script: prettier src/**/*.js tests/**/*.js && eslint --fix src/**/*.js tests/**/*.js | ||
description: Checks for any formatting errors and attempts to fix them | ||
test: | ||
default: | ||
script: karma start --single-run | ||
description: Executes the Test Suite | ||
tdd: | ||
script: karma start | ||
description: Watches for changes and executes the Test Suite accordingly | ||
sauce: | ||
script: karma start karma.ci.conf.js | ||
description: Executes the Test Suite on Sauce Labs | ||
serve: | ||
default: | ||
script: webpack-dev-server -d --config webpack.server.config.js | ||
description: Starts a server at http://localhost:8080 | ||
https: | ||
script: webpack-dev-server -d --https --port 443 --config webpack.server.config.js | ||
description: Starts a server at https://localhost | ||
build: | ||
default: | ||
script: nps build.dev && nps build.prod | ||
description: Builds both a minified and unminified artifact | ||
dev: | ||
script: webpack --progress --colors -d | ||
description: Builds an unminified artifact | ||
prod: | ||
script: webpack --progress --colors -p | ||
description: Builds a minified artifact | ||
report-coverage: | ||
script: coveralls < coverage/lcov.info | ||
description: Reports code coverage information to Coveralls | ||
semantic-release: | ||
script: semantic-release | ||
description: Publishes the artifact to NPM and GitHub |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@salte-io/salte-auth-angularjs", | ||
"version": "2.0.0", | ||
"version": "2.0.2", | ||
"main": "dist/salte-auth-angularjs.min.js", | ||
"description": "Provides OpenID Connect support to AngularJS applications through the addition of a simple configuration.", | ||
"homepage": "https://github.com/salte-io/salte-auth-angularjs", | ||
|
@@ -18,17 +18,10 @@ | |
"url": "https://github.com/salte-io/salte-auth-angularjs.git" | ||
}, | ||
"scripts": { | ||
"lint": "eslint src/**/*.js tests/**/*.js", | ||
"test": "karma start --single-run", | ||
"test:sauce": "karma start karma.ci.conf.js", | ||
"tdd": "karma start", | ||
"start": "webpack-dev-server -d --config webpack.server.config.js", | ||
"build": "npm run build:dev && npm run build:prod", | ||
"build:dev": "webpack --progress --colors -d", | ||
"build:prod": "webpack --progress --colors -p", | ||
"report-coverage": "coveralls < coverage/lcov.info", | ||
"publish-latest": "publish-latest --user-email [email protected] --user-name salte-bot", | ||
"semantic-release": "semantic-release pre && npm run build && npm publish && npm run publish-latest && semantic-release post" | ||
"start": "nps", | ||
"prepublishOnly": "yarn start build", | ||
"postpublish": "publish-latest --user-email [email protected] --user-name salte-bot", | ||
"precommit": "remove-lockfiles" | ||
}, | ||
"license": "MIT", | ||
"dependencies": { | ||
|
@@ -57,25 +50,29 @@ | |
"eslint-plugin-mocha": "^4.0.0", | ||
"file-loader": "^1.0.0", | ||
"html-loader": "^0.5.1", | ||
"husky": "^0.14.3", | ||
"istanbul-instrumenter-loader": "^3.0.0", | ||
"karma": "^1.0.0", | ||
"karma": "^2.0.0", | ||
"karma-chrome-launcher": "^2.0.0", | ||
"karma-coverage": "^1.0.0", | ||
"karma-mocha": "^1.0.0", | ||
"karma-mocha-reporter": "2.2.3", | ||
"karma-mocha-reporter": "2.2.5", | ||
"karma-polyfill": "^1.0.0", | ||
"karma-sauce-launcher": "^1.0.0", | ||
"karma-sinon": "^1.0.0", | ||
"karma-sourcemap-loader": "^0.3.7", | ||
"karma-webpack": "^2.0.0", | ||
"mocha": "^4.0.0", | ||
"promise-polyfill": "^6.0.2", | ||
"semantic-release": "^8.0.0", | ||
"nps": "^5.0.0", | ||
"promise-polyfill": "^7.0.0", | ||
"publish-latest": "^1.1.2", | ||
"remove-lockfiles": "^1.0.0", | ||
"semantic-release": "^11.0.0", | ||
"sinon": "^4.0.0", | ||
"uuid": "^3.0.0", | ||
"webpack": "^3.0.0", | ||
"webpack-dev-server": "^2.0.0", | ||
"yargs": "^9.0.0" | ||
"yargs": "^10.0.3" | ||
}, | ||
"config": { | ||
"commitizen": { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,3 +10,6 @@ globals: | |
rules: | ||
no-unused-expressions: 0 | ||
no-invalid-this: 0 | ||
settings: | ||
polyfills: | ||
- promises |
Oops, something went wrong.