Skip to content

Commit 6eaf6f0

Browse files
committed
chore: build library into lib folder
1 parent 4086a04 commit 6eaf6f0

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

Diff for: .eslintignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
node_modules
22
coverage
3-
dist
3+
lib
44
.docz
55
site

Diff for: .gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
node_modules
22
coverage
3-
dist
3+
lib
44
.docz
55
site

Diff for: .prettierignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
node_modules
22
coverage
3-
dist
3+
lib
44
.docz
55
site

Diff for: package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@testing-library/react-hooks",
33
"version": "0.0.0-semantically-released",
44
"description": "Simple and complete React hooks testing utilities that encourage good testing practices.",
5-
"main": "dist/index.js",
5+
"main": "lib/index.js",
66
"keywords": [
77
"testing",
88
"react",
@@ -11,7 +11,7 @@
1111
"integration"
1212
],
1313
"files": [
14-
"dist",
14+
"lib",
1515
"src",
1616
"pure.js",
1717
"dont-cleanup-after-each.js"
@@ -26,7 +26,7 @@
2626
"setup": "npm install && npm run validate -s",
2727
"validate": "kcd-scripts validate",
2828
"prepare": "npm run build",
29-
"build": "kcd-scripts build",
29+
"build": "kcd-scripts build --out-dir lib",
3030
"lint": "kcd-scripts lint",
3131
"coverage": "codecov",
3232
"test": "kcd-scripts test",

0 commit comments

Comments
 (0)