Skip to content

Commit ba295d8

Browse files
committed
Only include built files in the NPM published package.
1 parent f617f70 commit ba295d8

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.npmignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
node_modules
22
reports
3-
npm-debug.log
43
coverage
54
.gitignore
6-
.DS_Store

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
"version": "1.3.5",
44
"description": "AST utility module for statically analyzing JSX",
55
"main": "lib/index.js",
6+
"files": [
7+
"lib"
8+
],
69
"scripts": {
710
"build": "rimraf lib && babel src --out-dir lib",
811
"prepublish": "npm run lint && npm run test && npm run build",

0 commit comments

Comments
 (0)