From 52f13438d180c482c077a084315040b3b0bb479a Mon Sep 17 00:00:00 2001 From: Ceolter Date: Fri, 22 Jan 2016 06:59:17 +0000 Subject: [PATCH] initial checkin --- package1.json | 33 +++++++++++++++++++++++++++++++++ webpack.config1.js | 22 ++++++++++++++++++++++ 2 files changed, 55 insertions(+) create mode 100644 package1.json create mode 100644 webpack.config1.js diff --git a/package1.json b/package1.json new file mode 100644 index 0000000..1a8fef7 --- /dev/null +++ b/package1.json @@ -0,0 +1,33 @@ +{ + "name": "ag-grid-react-example", + "version": "0.0.1", + "description": "Example Reach applicaiton using ag-Grid.", + "main": "dist/ag-grid-react-example.js", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "repository": { + "type": "git", + "url": "https://github.com/ceolter/ag-grid-react-example.git" + }, + "keywords": [ + "react", + "grid", + "data", + "table" + ], + "author": "Niall Crosby ", + "license": "MIT", + "bugs": { + "url": "https://github.com/ceolter/ag-grid/issues" + }, + "homepage": "http://www.ag-grid.com/", + "devDependencies": { + "webpack": "1.12.11", + "react": "0.14.6", + "react-dom": "0.14.6", + "babel-loader": "6.2.1", + "babel-preset-react": "6.3.13", + "babel-preset-es2015": "6.3.13" + } +} diff --git a/webpack.config1.js b/webpack.config1.js new file mode 100644 index 0000000..0df63fd --- /dev/null +++ b/webpack.config1.js @@ -0,0 +1,22 @@ +module.exports = { + entry: "./src/index.js", + output: { + path: __dirname, + filename: "bundle.js" + }, + module: { + loaders: [ + { + test: /\.css$/, + loader: "style!css" + }, + { + test: /\.js$|\.jsx$/, + loader: 'babel-loader', + query: { + presets: ['react', 'es2015'] + } + } + ] + } +}; \ No newline at end of file