Skip to content

Commit

Permalink
Add microbundle and configuration to package
Browse files Browse the repository at this point in the history
  • Loading branch information
addyosmani committed Nov 23, 2018
1 parent 3eb7f8c commit 6571ff0
Show file tree
Hide file tree
Showing 3 changed files with 3,209 additions and 1 deletion.
15 changes: 14 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,18 @@
"repository": "/~https://github.com/addyosmani/quicklink.git",
"author": "addyosmani <addyosmani@gmail.com>",
"license": "Apache-2.0",
"private": false
"private": false,
"main": "dist/quicklink.js",
"module": "dist/quicklink.mjs",
"jsnext:main": "dist/quicklink.mjs",
"umd:main": "dist/quicklink.umd.js",
"scripts": {
"test": "eslint src",
"build": "microbundle src/index.mjs --no-sourcemap",
"prepare": "npm run -s build"
},
"devDependencies": {
"eslint": "^5.9.0",
"microbundle": "^0.7.0"
}
}
17 changes: 17 additions & 0 deletions src/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
root = true

[*]
indent_style = tab
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[{package.json,.*rc,*.yml}]
indent_style = space
indent_size = 2

[*.md]
trim_trailing_whitespace = false
indent_style = space
indent_size = 2
Loading

0 comments on commit 6571ff0

Please sign in to comment.