Skip to content
Permalink
Browse files

Remove typings and move to using types

  • Loading branch information...
Simplify committed Aug 23, 2017
1 parent d77418f commit 52619e72fbdd83392733b9dd58a9986858a37a14
Showing with 52 additions and 73 deletions.
  1. +0 −1 .gitignore
  2. +31 −30 ChangeLog
  3. +3 −3 README.md
  4. +12 −0 package-lock.json
  5. +5 −4 package.json
  6. +0 −3 test/IBANToolsTest.ts
  7. +1 −6 tsconfig.json
  8. +0 −18 tsd.json
  9. +0 −8 typings.json
@@ -1,4 +1,3 @@
typings
node_modules
.tern-port
test/*.js
@@ -1,3 +1,6 @@
2017-08-23 Saša Jovanić <sasa@simplify.ba>
* Now using @types - typings removed

2017-08-22 Saša Jovanić <sasa@simplify.ba>
* Updated development dependencies
* Added node version 8 to TravisCI tests
@@ -11,7 +14,7 @@
* Updated development dependencies

2017-02-04 Saša Jovanić <sasa@simplify.ba>
* Released version 1.2.0
* Released version 1.2.0
* Added BIC/SWIFT validation
* Added BIC/SWIFT extraction
* Updated TypeScript definitions
@@ -23,34 +26,32 @@
* Fixed ducumentation

2016-08-30 Saša Jovanić <sasa@simplify.ba>

* Removed CodeCov codes
* Added Coveralls badge and integration
* Added Dependency CI badge
* Removed CodeCov codes
* Added Coveralls badge and integration
* Added Dependency CI badge

2016-08-27 Saša Jovanić <sasa@simplify.ba>

* Released version 1.1.0
* Added Sao Tome And Principe (ST)
* Added Saint Lucia (LC)
* Added Aland Islands (AX)
* Added French Guyana (GF)
* Added Guadeloupe (GP)
* Added Martinique (MQ)
* Added Reunion (RE)
* Added French Polynesia (PF)
* Added French Southern Territories (TF)
* Added Mayotte (YT)
* Added New Caledonia (NC)
* Added Saint Barthelemy (BL)
* Added Saint Martin (MF)
* Added Saint Pierre et Miquelon (PM)
* Added Wallis and Futuna Islands (WF)
* Added Seychelles (SC)
* Fixed Republic of Azerbaijan and Jordan regexps
* Fixed some of the country names
* Added Node 6 to Travis CI
* Added Codecov to Travis CI config file
* Added this ChangeLog
* Updated development dependencies and typings
* Removed old script that used to retrive IBAN countries and codes from Wikipedia
* Released version 1.1.0
* Added Sao Tome And Principe (ST)
* Added Saint Lucia (LC)
* Added Aland Islands (AX)
* Added French Guyana (GF)
* Added Guadeloupe (GP)
* Added Martinique (MQ)
* Added Reunion (RE)
* Added French Polynesia (PF)
* Added French Southern Territories (TF)
* Added Mayotte (YT)
* Added New Caledonia (NC)
* Added Saint Barthelemy (BL)
* Added Saint Martin (MF)
* Added Saint Pierre et Miquelon (PM)
* Added Wallis and Futuna Islands (WF)
* Added Seychelles (SC)
* Fixed Republic of Azerbaijan and Jordan regexps
* Fixed some of the country names
* Added Node 6 to Travis CI
* Added Codecov to Travis CI config file
* Added this ChangeLog
* Updated development dependencies and typings
* Removed old script that used to retrive IBAN countries and codes from Wikipedia
@@ -64,18 +64,18 @@ If you are using tools that support `jsnext`, like a [rollup](https://github.com

### With TypeScript

Include ibantools as dependency and run `typings install`.
Install library/module using npm. Package bundles type definitions and if you are on TypeScript 2.0 or above `tsc` will access those automatically. If not, check your `tsconfig.json` file.

## API

See [documentation](http://simplify.github.io/ibantools) with examples on Github pages.

## Contributing

* `npm install` and after `node node_modules/.bin/typings install` (or run `typings install` if you have typings installed globally).
* Clone this repo and run `npm install`.
* Write tests for your changes in `test/IBANToolsTest.ts`.
* Do not write more tests in `karma/ibantoolsSpec.js` unless module have problem with loading using AMD.
* Before making pull requests run `gulp all-with-tests`.
* Before making pull requests run `gulp all && gulp test && gulp karma`.
* Try not to make pull requests with changes in `dist`, `jsnext` or `build` directories.

## License

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
@@ -25,7 +25,7 @@
"directories": {
"doc": "docs"
},
"typings": "build/ibantools.d.ts",
"types": "build/ibantools.d.ts",
"typescript": {
"definition": "build/ibantools.d.ts"
},
@@ -38,14 +38,16 @@
"test": "gulp coverage",
"karma": "gulp karma",
"coverage": "gulp coverage",
"prepublish": "typings install && npm run build"
"prepare": "npm run build"
},
"author": {
"name": "Saša Jovanić",
"url": "https://www.simplify.ba/"
},
"license": "MPL-2.0",
"devDependencies": {
"@types/chai": "^4.0.4",
"@types/mocha": "^2.2.42",
"chai": "^4.1",
"cheerio": "^0.22",
"coveralls": "^2.13",
@@ -67,7 +69,6 @@
"request": "^2.81",
"requirejs": "^2.3",
"run-sequence": "^2.1",
"typescript": "^2.4",
"typings": "^2.1"
"typescript": "^2.4"
}
}
@@ -2,9 +2,6 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */

/// <reference path="../typings/index.d.ts" />
/// <reference path="../build/ibantools.d.ts" />

import * as chai from 'chai';
const expect = chai.expect;

@@ -18,17 +18,12 @@
"./**/*.tsx",
"!./**/*.d.ts",
"!./gulpfile.ts",
"./typings/**/*.d.ts",
"!./node_modules/**/*.ts",
"./node_modules/typescript/lib/lib.es6.d.ts"
],
"exclude": [],
"files": [
"./src/IBANTools.ts",
"./test/IBANToolsTest.ts",
"./typings/bundle.d.ts",
"./typings/gulp/gulp.d.ts",
"./typings/mocha/mocha.d.ts",
"./node_modules/typescript/lib/lib.es6.d.ts"
"./test/IBANToolsTest.ts"
]
}

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

0 comments on commit 52619e7

Please sign in to comment.
You can’t perform that action at this time.