Skip to content

Commit 4597bd0

Browse files
author
Amir Tocker
committed
Update package configuration
- Remove bower.json - Remove npm and yarn lock files - Add npmrc and yarnrc - Refactor tests setup - Add cloudinary-react proxy to test configuration - Add TEST_SUBJECT to travis configuration - Add React installation to travis configuration - Don't pack webpack.config.js in the npm package - Fix dist module name for React in webpack
1 parent 84ba950 commit 4597bd0

15 files changed

+61
-22271
lines changed

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,7 @@ dist/
4242
*-compiled.js*
4343
storybook-static/
4444
.storybook/
45-
.idea/
45+
.idea/
46+
package-lock.json
47+
yarn.lock
48+
.nvmrc

.npmignore

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,9 @@ test/
4848
storybook-static/
4949

5050
babel.config.js
51-
.babelrc
51+
.babelrc
52+
package-lock.json
53+
yarn.lock
54+
.nvmrc
55+
.travis.yml
56+
webpack.config.js

.npmrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
2+
package-lock=false

.travis.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,11 @@ node_js:
55
- "lts/*"
66
- "6"
77
install:
8+
- npm install react@^16.0.0 --no-save
89
- npm install
10+
- npm run compile
11+
- npm run dist
12+
env:
13+
- TEST_SUBJECT=src
14+
- TEST_SUBJECT=lib
15+
- TEST_SUBJECT=dist

.yarnrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
pure-lockfile true

bower.json

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)