Compare commits
10 Commits
Author | SHA1 | Date | |
---|---|---|---|
28e71356ff | |||
962246157c | |||
043f6e8581 | |||
e30dc5d77c | |||
e297be6fc2 | |||
659907d280 | |||
50db40d831 | |||
fbf5dce989 | |||
b6e418a431 | |||
7f69a5eaab |
@ -3,6 +3,7 @@ Write npm modules with TypeScript without hassle.
|
|||||||
|
|
||||||
## Status
|
## Status
|
||||||
[](https://travis-ci.org/pushrocks/npmts)
|
[](https://travis-ci.org/pushrocks/npmts)
|
||||||
|
[](https://ci.appveyor.com/project/philkunz/npmts)
|
||||||
[](https://david-dm.org/pushrocks/npmts)
|
[](https://david-dm.org/pushrocks/npmts)
|
||||||
[](https://www.bithound.io/github/pushrocks/npmts/master/dependencies/npm)
|
[](https://www.bithound.io/github/pushrocks/npmts/master/dependencies/npm)
|
||||||
[](https://www.bithound.io/github/pushrocks/npmts)
|
[](https://www.bithound.io/github/pushrocks/npmts)
|
||||||
@ -130,4 +131,4 @@ thanks to autogenerated source maps.
|
|||||||
## About the authors:
|
## About the authors:
|
||||||
[](https://lossless.com/)
|
[](https://lossless.com/)
|
||||||
|
|
||||||
[](https://paypal.me/lossless)
|
[](https://paypal.me/lossless)
|
||||||
|
10
appveyor.yml
Normal file
10
appveyor.yml
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
environment:
|
||||||
|
nodejs_version: "4"
|
||||||
|
install:
|
||||||
|
- ps: Install-Product node $env:nodejs_version
|
||||||
|
- npm install
|
||||||
|
test_script:
|
||||||
|
- node --version
|
||||||
|
- npm --version
|
||||||
|
- npm test
|
||||||
|
build: off
|
4
dist/index.js
vendored
4
dist/index.js
vendored
@ -2,10 +2,10 @@
|
|||||||
/// <reference path="./typings/main.d.ts" />
|
/// <reference path="./typings/main.d.ts" />
|
||||||
console.log("**** starting NPMTS ****");
|
console.log("**** starting NPMTS ****");
|
||||||
var plugins = require("./npmts.plugins");
|
var plugins = require("./npmts.plugins");
|
||||||
var promisechain = require("./npmts.promisechain");
|
var npmts_promisechain_1 = require("./npmts.promisechain");
|
||||||
plugins.beautylog.figletSync("NPMTS");
|
plugins.beautylog.figletSync("NPMTS");
|
||||||
try {
|
try {
|
||||||
promisechain.run();
|
npmts_promisechain_1.promisechain();
|
||||||
}
|
}
|
||||||
catch (err) {
|
catch (err) {
|
||||||
console.log(err);
|
console.log(err);
|
||||||
|
7
dist/npmts.promisechain.js
vendored
7
dist/npmts.promisechain.js
vendored
@ -12,8 +12,8 @@ var NpmtsJsdoc = require("./npmts.jsdoc");
|
|||||||
var NpmtsOptions = require("./npmts.options");
|
var NpmtsOptions = require("./npmts.options");
|
||||||
var NpmtsPublish = require("./npmts.publish");
|
var NpmtsPublish = require("./npmts.publish");
|
||||||
var NpmtsTests = require("./npmts.tests");
|
var NpmtsTests = require("./npmts.tests");
|
||||||
exports.run = function () {
|
exports.promisechain = function () {
|
||||||
var promisechain;
|
var done = plugins.Q.defer();
|
||||||
NpmtsConfigFile.run()
|
NpmtsConfigFile.run()
|
||||||
.then(NpmtsOptions.run)
|
.then(NpmtsOptions.run)
|
||||||
.then(NpmtsClean.run)
|
.then(NpmtsClean.run)
|
||||||
@ -46,6 +46,7 @@ exports.run = function () {
|
|||||||
exports.npmtsOra.endOk("Tasks finished!");
|
exports.npmtsOra.endOk("Tasks finished!");
|
||||||
plugins.beautylog.success("Done!");
|
plugins.beautylog.success("Done!");
|
||||||
}
|
}
|
||||||
|
done.resolve();
|
||||||
});
|
});
|
||||||
return promisechain;
|
return done.promise;
|
||||||
};
|
};
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "npmts",
|
"name": "npmts",
|
||||||
"version": "5.1.6",
|
"version": "5.1.7",
|
||||||
"description": "write npm modules with TypeScript",
|
"description": "write npm modules with TypeScript",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"bin": {
|
"bin": {
|
||||||
@ -26,7 +26,7 @@
|
|||||||
},
|
},
|
||||||
"homepage": "https://github.com/pushrocks/npmts#readme",
|
"homepage": "https://github.com/pushrocks/npmts#readme",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"beautylog": "5.0.1",
|
"beautylog": "5.0.4",
|
||||||
"fs-extra": "^0.30.0",
|
"fs-extra": "^0.30.0",
|
||||||
"gulp": "3.9.1",
|
"gulp": "3.9.1",
|
||||||
"gulp-codecov": "^2.0.1",
|
"gulp-codecov": "^2.0.1",
|
||||||
@ -39,7 +39,7 @@
|
|||||||
"gulp-replace": "^0.5.4",
|
"gulp-replace": "^0.5.4",
|
||||||
"gulp-sourcemaps": "^2.0.0-alpha",
|
"gulp-sourcemaps": "^2.0.0-alpha",
|
||||||
"gulp-typescript": "2.13.4",
|
"gulp-typescript": "2.13.4",
|
||||||
"gulp-typings": "1.3.6",
|
"gulp-typings": "2.0.0",
|
||||||
"lodash": "^4.12.0",
|
"lodash": "^4.12.0",
|
||||||
"merge2": "1.0.2",
|
"merge2": "1.0.2",
|
||||||
"projectinfo": "1.0.1",
|
"projectinfo": "1.0.1",
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
/// <reference path="./typings/main.d.ts" />
|
/// <reference path="./typings/main.d.ts" />
|
||||||
console.log("**** starting NPMTS ****");
|
console.log("**** starting NPMTS ****");
|
||||||
import plugins = require("./npmts.plugins");
|
import * as plugins from "./npmts.plugins"
|
||||||
import promisechain = require("./npmts.promisechain");
|
import {promisechain} from "./npmts.promisechain";
|
||||||
plugins.beautylog.figletSync("NPMTS");
|
plugins.beautylog.figletSync("NPMTS");
|
||||||
|
|
||||||
try {
|
try {
|
||||||
promisechain.run();
|
promisechain();
|
||||||
}
|
}
|
||||||
catch(err){
|
catch(err){
|
||||||
console.log(err);
|
console.log(err);
|
||||||
|
@ -14,8 +14,8 @@ import NpmtsOptions = require("./npmts.options");
|
|||||||
import NpmtsPublish = require("./npmts.publish");
|
import NpmtsPublish = require("./npmts.publish");
|
||||||
import NpmtsTests = require("./npmts.tests");
|
import NpmtsTests = require("./npmts.tests");
|
||||||
|
|
||||||
export var run = function(){
|
export let promisechain = function(){
|
||||||
var promisechain;
|
let done = plugins.Q.defer();
|
||||||
NpmtsConfigFile.run()
|
NpmtsConfigFile.run()
|
||||||
.then(NpmtsOptions.run)
|
.then(NpmtsOptions.run)
|
||||||
.then(NpmtsClean.run)
|
.then(NpmtsClean.run)
|
||||||
@ -47,7 +47,7 @@ export var run = function(){
|
|||||||
npmtsOra.endOk("Tasks finished!");
|
npmtsOra.endOk("Tasks finished!");
|
||||||
plugins.beautylog.success("Done!")
|
plugins.beautylog.success("Done!")
|
||||||
}
|
}
|
||||||
|
done.resolve();
|
||||||
});
|
});
|
||||||
return promisechain;
|
return done.promise;
|
||||||
};
|
};
|
Reference in New Issue
Block a user