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 70
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
6 changed files
with
52 additions
and
5,775 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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,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 |
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": "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", | ||
|
@@ -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": { | ||
|
@@ -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", | ||
|
@@ -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" | ||
}, | ||
|
Oops, something went wrong.