From 89dd8c6d9d240fbc9b3b3eac9975694870e07f07 Mon Sep 17 00:00:00 2001 From: sveisvei Date: Tue, 13 Sep 2016 22:06:33 +0200 Subject: [PATCH] add prebulish and index file #153 --- packages/unleash-frontend-next/index.js | 6 ++++++ packages/unleash-frontend-next/package.json | 9 +++++---- 2 files changed, 11 insertions(+), 4 deletions(-) create mode 100644 packages/unleash-frontend-next/index.js diff --git a/packages/unleash-frontend-next/index.js b/packages/unleash-frontend-next/index.js new file mode 100644 index 0000000000..a801f347b6 --- /dev/null +++ b/packages/unleash-frontend-next/index.js @@ -0,0 +1,6 @@ +'use strict'; +const path = require('path'); + +module.exports = { + publicFolder: path.join(__dirname, 'dist'), +}; diff --git a/packages/unleash-frontend-next/package.json b/packages/unleash-frontend-next/package.json index b383ceda41..8fbcec5c0b 100644 --- a/packages/unleash-frontend-next/package.json +++ b/packages/unleash-frontend-next/package.json @@ -1,7 +1,7 @@ { - "name": "unleash-frontend", + "name": "unleash-frontend-next", "description": "unleash your features", - "version": "1.0.0-alpha.2", + "version": "1.0.0", "keywords": [ "unleash", "feature toggle", @@ -25,9 +25,10 @@ "build": "webpack -p", "start": "webpack-dev-server --config webpack.config.js --hot --progress --colors --port 3000", "test": "echo 'no test'", - "test:ci": "npm run test" + "test:ci": "npm run test", + "prepublish": "npm run build" }, - "main": "./lib/index.js", + "main": "./index.js", "dependencies": { "immutability-helper": "^2.0.0", "react": "^15.3.1",