From 342f497c8d52ea52d8a631794554a2b99a4faad6 Mon Sep 17 00:00:00 2001 From: ANich Date: Fri, 3 Jun 2016 17:27:06 -0700 Subject: [PATCH] Changed target directory from build to dist (build is for the NPM package) --- .gitignore | 1 + package.json | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 14cb44c16ad615..ceb66e63309652 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,7 @@ node_modules npm-debug.log build +dist coverage # Exclude compiled files diff --git a/package.json b/package.json index 20a5cd5924014f..ab64998e770380 100644 --- a/package.json +++ b/package.json @@ -25,8 +25,8 @@ "build:icon-index": "babel-node ./scripts/icon-index-generator.js", "build:babel": "babel ./src --ignore *.spec.js --out-dir ./build", "build:copy-files": "babel-node ./scripts/copy-files.js", - "build:umd": "cross-env NODE_ENV=development webpack src/index.umd.js build/umd/MaterialUI.js", - "build:min": "cross-env NODE_ENV=production webpack -p src/index.umd.js build/umd/MaterialUI.min.js", + "build:umd": "cross-env NODE_ENV=development webpack src/index.umd.js dist/MaterialUI.js", + "build:min": "cross-env NODE_ENV=production webpack -p src/index.umd.js dist/MaterialUI.min.js", "clean:build": "rimraf build", "lint": "eslint src docs/src test/integration && echo \"eslint: no lint errors\"", "prebuild": "npm run clean:build",