Skip to content

Commit da352b2

Browse files
author
Kent C. Dodds
authored
chore: cleanup repo (#600)
1 parent 9bd87c6 commit da352b2

7 files changed

+10
-28
lines changed

.gitattributes

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
* text=auto
2-
*.js text eol=lf
1+
* text=auto eol=lf

.gitignore

-6
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,9 @@
11
node_modules
22
coverage
33
dist
4-
.opt-in
5-
.opt-out
64
.DS_Store
7-
.eslintcache
8-
9-
yarn-error.log
105

116
# these cause more harm than good
127
# when working with contributors
138
package-lock.json
149
yarn.lock
15-

.prettierignore

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
package.json
21
node_modules
3-
dist
42
coverage
3+
dist

.prettierrc

-11
This file was deleted.

.prettierrc.js

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
module.exports = require('kcd-scripts/prettier')

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ cache: npm
33
notifications:
44
email: false
55
node_js:
6-
- 10.14
6+
- 10.18
77
- 12
88
- node
99
install:

package.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,19 @@
55
"main": "dist/index.js",
66
"module": "dist/@testing-library/react.esm.js",
77
"engines": {
8-
"node": ">=10"
8+
"node": ">=10.18"
99
},
1010
"scripts": {
1111
"prebuild": "rimraf dist",
1212
"build": "npm-run-all --parallel build:main build:bundle:main build:bundle:pure",
13-
"build:main": "kcd-scripts build --no-clean",
1413
"build:bundle:main": "kcd-scripts build --bundle --no-clean",
1514
"build:bundle:pure": "cross-env BUILD_FILENAME_SUFFIX=.pure BUILD_INPUT=src/pure.js kcd-scripts build --bundle --no-clean",
15+
"build:main": "kcd-scripts build --no-clean",
1616
"lint": "kcd-scripts lint",
17+
"setup": "npm install && npm run validate -s",
1718
"test": "kcd-scripts test",
1819
"test:update": "npm test -- --updateSnapshot --coverage",
19-
"validate": "kcd-scripts validate",
20-
"setup": "npm install && npm run validate -s"
20+
"validate": "kcd-scripts validate"
2121
},
2222
"husky": {
2323
"hooks": {
@@ -41,7 +41,7 @@
4141
"end-to-end",
4242
"e2e"
4343
],
44-
"author": "Kent C. Dodds <[email protected]> (http://kentcdodds.com/)",
44+
"author": "Kent C. Dodds <[email protected]> (https://kentcdodds.com)",
4545
"license": "MIT",
4646
"dependencies": {
4747
"@babel/runtime": "^7.8.4",
@@ -79,7 +79,7 @@
7979
],
8080
"repository": {
8181
"type": "git",
82-
"url": "https://github.com/testing-library/react-testing-library.git"
82+
"url": "https://github.com/testing-library/react-testing-library"
8383
},
8484
"bugs": {
8585
"url": "https://github.com/testing-library/react-testing-library/issues"

0 commit comments

Comments
 (0)