Skip to content

Commit

Permalink
chore: clean up old code
Browse files Browse the repository at this point in the history
- removed jest config from package.json
- added cov to npm clean script
- added tests to .npmignore
  • Loading branch information
David Atchley committed Apr 27, 2017
1 parent 6017db0 commit 3960766
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .npmignore
@@ -1,6 +1,6 @@
.DS_Store
*.log
src
test
tests
examples
coverage
14 changes: 1 addition & 13 deletions package.json
Expand Up @@ -5,7 +5,7 @@
"main": "lib/react-scale-text.js",
"module": "lib/index.js",
"scripts": {
"clean": "rimraf lib coverage",
"clean": "rimraf lib coverage cov",
"build": "babel src --out-dir lib --ignore __tests__,__mocks__ && npm run build:umd",
"build:umd": "webpack && NODE_ENV=production webpack",
"build:analyze": "webpack --json > ./lib/build-stats.json",
Expand Down Expand Up @@ -85,17 +85,5 @@
"lodash": "^4.17.4",
"warning": "^3.0.0",
"shortid": "^2.2.8"
},
"jest": {
"testEnvironment": "jsdom",
"snapshotSerializers": [
"enzyme-to-json/serializer"
],
"unmockedModulePathPatterns": [
"react",
"react-dom",
"react-addons-test-utils",
"enzyme"
]
}
}

0 comments on commit 3960766

Please sign in to comment.