Skip to content

Commit 12554eb

Browse files
author
Jonathon Kelly
committed
ensure lib directory is added to npm package
1 parent bd1a095 commit 12554eb

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,6 @@ node_modules
1010

1111
# lib
1212
lib
13+
14+
# log
15+
*.log

package.json

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@
33
"version": "0.1.0",
44
"description": "Render markdown as a React component",
55
"main": "lib/index.js",
6+
"files": [
7+
"lib"
8+
],
9+
"config": {
10+
"entry": "src",
11+
"output": "lib"
12+
},
613
"scripts": {
714
"build": "babel $npm_package_config_entry --out-dir $npm_package_config_output",
815
"lint": "eslint --ignore-path .gitignore .",
@@ -13,11 +20,6 @@
1320
"type": "git",
1421
"url": "git+https://[email protected]/InsidersByte/react-markdown-renderer.git"
1522
},
16-
"config": {
17-
"entry": "src",
18-
"output": "lib",
19-
"mainFile": "src/index.js"
20-
},
2123
"author": "Jonathon Kelly <[email protected]>",
2224
"license": "MIT",
2325
"bugs": {

0 commit comments

Comments
 (0)