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

Commit

Permalink
v1.2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
aguirrel committed Dec 26, 2017
2 parents 759c133 + a8da735 commit 5fc2478
Show file tree
Hide file tree
Showing 6 changed files with 52 additions and 5,775 deletions.
13 changes: 4 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ sudo: false
language: node_js
node_js: node
cache:
yarn: true
directories:
- node_modules
branches:
Expand All @@ -16,15 +15,11 @@ addons:
- google-chrome
packages:
- google-chrome-stable
before_install:
- yarn global add greenkeeper-lockfile@1
before_script: greenkeeper-lockfile-update
script:
- yarn run lint
- xvfb-run yarn run test:sauce
- yarn run test
after_script: greenkeeper-lockfile-upload
- npm start lint
- xvfb-run npm start test.sauce
- npm start test
after_success:
- yarn run semantic-release
- npm start semantic-release
notifications:
email: change
2 changes: 1 addition & 1 deletion dist/ng-currency.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/ng-currency.js.map

Large diffs are not rendered by default.

34 changes: 34 additions & 0 deletions package-scripts.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
scripts:
lint:
script: eslint src/**/*.js tests/**/*.js
description: Checks for any formatting errors
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
semantic-release:
script: semantic-release
description: Publishes the artifact to NPM and GitHub
27 changes: 12 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ng-currency",
"version": "1.2.3",
"version": "1.2.4",
"main": "dist/ng-currency.js",
"description": "Directive that works in conjunction with currency filter.",
"homepage": "http://alaguirre.com",
Expand All @@ -19,16 +19,10 @@
"filter"
],
"scripts": {
"start": "webpack-dev-server --config webpack.server.config.js",
"lint": "eslint src/**/*.js tests/**/*.js",
"test": "karma start --single-run",
"test:sauce": "karma start karma.ci.conf.js",
"tdd": "karma start",
"build": "yarn run build:dev && yarn run build:prod",
"build:dev": "webpack -d",
"build:prod": "webpack -p",
"publish-latest": "publish-latest --user-email [email protected] --user-name aguirrel",
"semantic-release": "semantic-release pre && yarn 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 aguirrel",
"precommit": "remove-lockfiles"
},
"license": "MIT",
"devDependencies": {
Expand All @@ -43,9 +37,10 @@
"eslint-loader": "^1.4.1",
"eslint-plugin-jasmine": "^2.0.0",
"html-loader": "^0.5.0",
"husky": "^0.14.3",
"isparta-loader": "^2.0.0",
"jasmine-core": "^2.4.1",
"karma": "^1.1.2",
"karma": "^2.0.0",
"karma-chrome-launcher": "^2.2.0",
"karma-coverage": "^1.1.1",
"karma-firefox-launcher": "^1.0.1",
Expand All @@ -54,13 +49,15 @@
"karma-phantomjs-launcher": "^1.0.1",
"karma-sinon": "^1.0.5",
"karma-sourcemap-loader": "^0.3.7",
"karma-spec-reporter": "^0.0.31",
"karma-spec-reporter": "^0.0.32",
"karma-webpack": "^2.0.0",
"ng-select-all-on-focus": "^1.0.3",
"nps": "^5.7.1",
"phantomjs-prebuilt": "^2.1.8",
"publish-latest": "^1.1.2",
"semantic-release": "^7.0.1",
"sinon": "^3.0.0",
"remove-lockfiles": "^1.4.2",
"semantic-release": "^11.0.0",
"sinon": "^4.0.0",
"webpack": "^3.0.0",
"webpack-dev-server": "^2.4.5"
},
Expand Down
Loading

0 comments on commit 5fc2478

Please sign in to comment.