Skip to content

Commit 6571ff0

Browse files
committed
Add microbundle and configuration to package
1 parent 3eb7f8c commit 6571ff0

3 files changed

Lines changed: 3209 additions & 1 deletion

File tree

package.json

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,18 @@
66
"repository": "https://github.com/addyosmani/quicklink.git",
77
"author": "addyosmani <addyosmani@gmail.com>",
88
"license": "Apache-2.0",
9-
"private": false
9+
"private": false,
10+
"main": "dist/quicklink.js",
11+
"module": "dist/quicklink.mjs",
12+
"jsnext:main": "dist/quicklink.mjs",
13+
"umd:main": "dist/quicklink.umd.js",
14+
"scripts": {
15+
"test": "eslint src",
16+
"build": "microbundle src/index.mjs --no-sourcemap",
17+
"prepare": "npm run -s build"
18+
},
19+
"devDependencies": {
20+
"eslint": "^5.9.0",
21+
"microbundle": "^0.7.0"
22+
}
1023
}

src/.editorconfig

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
root = true
2+
3+
[*]
4+
indent_style = tab
5+
end_of_line = lf
6+
charset = utf-8
7+
trim_trailing_whitespace = true
8+
insert_final_newline = true
9+
10+
[{package.json,.*rc,*.yml}]
11+
indent_style = space
12+
indent_size = 2
13+
14+
[*.md]
15+
trim_trailing_whitespace = false
16+
indent_style = space
17+
indent_size = 2

0 commit comments

Comments
 (0)