Skip to content

Commit

Permalink
move types into new dir, copy on build
Browse files Browse the repository at this point in the history
  • Loading branch information
rt2zz committed Dec 16, 2016
1 parent 154c088 commit ff42d2f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ node_modules
lib/
dist/
es/
.DS_Store
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
{
"name": "redux-persist",
"version": "4.0.0-beta1",
"version": "4.0.0-beta2",
"description": "persist and rehydrate redux stores",
"main": "lib/index.js",
"typings": "index.d.ts",
"typings": "lib/index.d.ts",
"module": "es/index.js",
"jsnext:main": "es/index.js",
"scripts": {
"test": "standard 'src/**/*.js' 'test/**/*.js' storages.js constants.js && BABEL_ENV=commonjs ava",
"test:watch": "npm test -- --watch",
"copy-types": "cp -r type-definitions/ lib/",
"clean": "rimraf lib dist es",
"build": "npm run build:commonjs && npm run build:es && npm run build:umd && npm run build:umd:min",
"build": "npm run build:commonjs && npm run build:es && npm run build:umd && npm run build:umd:min && npm copy-types",
"build:commonjs": "cross-env BABEL_ENV=commonjs babel src --out-dir lib",
"build:es": "cross-env BABEL_ENV=es babel src --out-dir es",
"build:umd": "cross-env BABEL_ENV=commonjs webpack",
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit ff42d2f

Please sign in to comment.