Skip to content

Commit e05c205

Browse files
authored
Merge pull request #24 from github/type-module
Add type module to package.json
2 parents 43a86fe + 2aaeb6b commit e05c205

File tree

5 files changed

+11
-37
lines changed

5 files changed

+11
-37
lines changed

examples/index-v1.0.2.html

Lines changed: 0 additions & 34 deletions
This file was deleted.
File renamed without changes.

package-lock.json

Lines changed: 7 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,11 @@
44
"version": "2.0.0",
55
"main": "dist/index.js",
66
"module": "dist/index.js",
7+
"type": "module",
78
"types": "dist/index.d.ts",
89
"license": "MIT",
910
"repository": "github/combobox-nav",
11+
"prettier": "@github/prettier-config",
1012
"files": [
1113
"dist"
1214
],
@@ -15,12 +17,13 @@
1517
"lint": "github-lint",
1618
"prebuild": "npm run clean && npm run lint && mkdir dist",
1719
"build": "tsc",
18-
"test": "karma start karma.config.js",
20+
"test": "karma start karma.config.cjs",
1921
"pretest": "npm run build",
2022
"prepublishOnly": "npm run build",
2123
"postpublish": "npm publish --ignore-scripts --@github:registry='https://npm.pkg.github.com'"
2224
},
2325
"devDependencies": {
26+
"@github/prettier-config": "0.0.4",
2427
"chai": "^4.2.0",
2528
"eslint": "^6.6.0",
2629
"eslint-plugin-github": "^3.4.1",

prettier.config.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)