Skip to content

Commit

Permalink
Merge pull request #9 from nathanielw/fix/publish-types
Browse files Browse the repository at this point in the history
Generate and include TypeScript types in published build
  • Loading branch information
pzuraq authored Nov 5, 2020
2 parents 76875b8 + 46b62fc commit e803d5d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"author": "Chris Hewell Garrett",
"main": "commonjs/index.js",
"module": "addon/index.js",
"types": "commonjs/index.d.ts",
"files": [
"addon/**/*",
"ember-addon-main.js"
Expand All @@ -19,7 +20,7 @@
"test": "tests"
},
"scripts": {
"build:ts": "tsc && tsc --outDir commonjs --module CommonJS",
"build:ts": "tsc && tsc --declaration --outDir commonjs --module CommonJS",
"build": "ember build --environment=production",
"lint:hbs": "ember-template-lint .",
"lint:js": "eslint .",
Expand Down

0 comments on commit e803d5d

Please sign in to comment.