Skip to content

Commit

Permalink
chore(typings): change output directory to ./.dist
Browse files Browse the repository at this point in the history
makes the src/ folder much cleaner

fixes #113
  • Loading branch information
tusharmath committed Jan 29, 2017
1 parent f66bb61 commit 7eb140a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "Observables for the calorie conscious",
"main": "./src/main",
"jsnext:main": "./.dist/main-es.min",
"typings": "./src/main.d.ts",
"typings": "./.dist/src/main.d.ts",
"scripts": {
"benchmark": "tsc && node ./benchmarks/run",
"cleanup": "find ./src -type f -name '*.js' -delete && find ./src -type f -name '*.map' -delete",
Expand All @@ -12,7 +12,7 @@
"prepublish": "tsc -d && npm run build && npm run build-min",
"rfc": "node chore/rfc",
"semantic-release": "semantic-release pre && npm publish && semantic-release post",
"test": "tsc && ava",
"test": "tsc -d && ava .dist/test",
"build": "npm run build-es && npm run build-cjs",
"build-min": "npm run build-es-min && npm run build-cjs-min",
"build-es": "rollup -c",
Expand Down
4 changes: 3 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
"sourceMap": true,
"strictNullChecks": true,
"removeComments": true,
"noUnusedLocals": true
"noUnusedLocals": true,
"outDir": "./.dist",
"declaration": true
}
}

0 comments on commit 7eb140a

Please sign in to comment.