now using commonjs module system

This commit is contained in:
2016-02-20 00:53:23 +01:00
parent 2035045aef
commit d5407e33dd
25 changed files with 501 additions and 571 deletions

View File

@@ -2,13 +2,12 @@
"name": "npmts",
"version": "3.1.2",
"description": "write npm modules with TypeScript",
"main": "index.js",
"typings": "./index.d.ts",
"main": "dist/index.js",
"bin": {
"npmts": "./index.js"
"npmts": "dist/cli.js"
},
"scripts": {
"test": "(cd compile && node compile.js) && (cd test/assets && node ../../index.js)",
"test": "(cd compile && node compile.js) && (cd test/assets && node ../../dist/index.js)",
"release": "(git add -A && git commit -m 'update' && git push origin master && npm version patch && npm publish)"
},
"repository": {
@@ -29,7 +28,9 @@
"beautylog": "2.1.1",
"fs-extra": "^0.26.5",
"gulp": "3.9.1",
"gulp-concat": "^2.6.0",
"gulp-coveralls": "^0.1.4",
"gulp-if": "^2.0.0",
"gulp-istanbul": "^0.10.3",
"gulp-mocha": "^2.2.0",
"gulp-sourcemaps": "^1.6.0",