Collapse boilerplate in a single commit
First prototype
Added the README
Fixed the hot module replacement
Minor adjustments on readme
Normalizing the env vars and using it capitalized
Added info about the react.js branch
Fix babel transpiling
Using yarn
Removing the babel package, just the babel-core does the job
Using just the dependencies key on package.json
Since it isn't a lib package doesn't matter the separation between
devDependencies and dependencies.
Updating the css-loader
Updating the fs-extra
Moving the utility packages to utils folder
Better description
Adds the license
closes #3
Write the env vars on the bundle file
http://dev.topheman.com/make-your-react-production-minified-version-with-webpack/
Fixs the hot reload setup
Sringifies the env object to define plugin
Uses the webpack html plugin to generate the pages in a less hacky way
Uses the write-file-webpack-plugin
this plugin allows the webpack write on disk all files, even running
with the webserver, which is necessary to the hot reload.
this plugin also help us to remove nasty hacks and expose bundles to
other extension features.
Allows exclude some entry points to be hot reloaded
It's useful for content scripts that can't keep the connection with the
webpack endpoint.
Updates the webpack
Updates the README with instructions about the content scripts
resolves #4
Updates to Webpack 2
closes #8
Expand the DefinePlugin usage
In Webpack 1, the replaced value at compile time by define plugin was placed with
parenthesis, like ({"NODE_ENV":"development","PORT":3000}), now, it not works in
this way, breaking the app.
So, to simplify the things, this commit just passes the NODE_ENV var.
Fix README
Exclude /node_modules/ from babel and css transpiling #9
Source maps to help debugging
closes #10
Removes the forbidden webpack config 'chromeExtensionBoilerplate'
before build and webserver's start
Although I know that it's not a good practice, right now I don't know a
good way to keep the boilerplate configs simple as it is today without
this hacky solution, so, until we came with a better solution, we'll
remove the key before build and webserver's start.
#9
Update README.md
Removing babel.js
Basically, we don't need transpiling with babel since Webpack 2 take care of
ES6 modules transpiling and the ES2015 is supported by Chrome.
kudos @gagarine
resolve #16
Setup boilerplate to load images and other assets in html and css
resolves #18
resolves #23
resolves #14
resolves #12
Added icons and images boilerplate
Split dependencies on package.json
resolves #15
Webpack config improvements (#26)
- Use CopyWebpackPlugin to generate `manifest.json` file
- Use CleanWebpackPlugin to clear build folder
Minor README adjustments
* explicitly the required node version
* pointing to yarn install instructions page instead suggest install
with npm. the yarn page will be always updated to the best way to install
the yarn.
closes #28
Adding the contribution guidelines
2016-04-14 06:16:50 -07:00
|
|
|
{
|
2019-01-04 12:14:41 -08:00
|
|
|
"name": "grasp-extension",
|
2019-01-16 14:25:53 -08:00
|
|
|
"version": "0.6.0",
|
2019-01-04 12:14:41 -08:00
|
|
|
"description": "A reliable way of capturing web pages and content",
|
Collapse boilerplate in a single commit
First prototype
Added the README
Fixed the hot module replacement
Minor adjustments on readme
Normalizing the env vars and using it capitalized
Added info about the react.js branch
Fix babel transpiling
Using yarn
Removing the babel package, just the babel-core does the job
Using just the dependencies key on package.json
Since it isn't a lib package doesn't matter the separation between
devDependencies and dependencies.
Updating the css-loader
Updating the fs-extra
Moving the utility packages to utils folder
Better description
Adds the license
closes #3
Write the env vars on the bundle file
http://dev.topheman.com/make-your-react-production-minified-version-with-webpack/
Fixs the hot reload setup
Sringifies the env object to define plugin
Uses the webpack html plugin to generate the pages in a less hacky way
Uses the write-file-webpack-plugin
this plugin allows the webpack write on disk all files, even running
with the webserver, which is necessary to the hot reload.
this plugin also help us to remove nasty hacks and expose bundles to
other extension features.
Allows exclude some entry points to be hot reloaded
It's useful for content scripts that can't keep the connection with the
webpack endpoint.
Updates the webpack
Updates the README with instructions about the content scripts
resolves #4
Updates to Webpack 2
closes #8
Expand the DefinePlugin usage
In Webpack 1, the replaced value at compile time by define plugin was placed with
parenthesis, like ({"NODE_ENV":"development","PORT":3000}), now, it not works in
this way, breaking the app.
So, to simplify the things, this commit just passes the NODE_ENV var.
Fix README
Exclude /node_modules/ from babel and css transpiling #9
Source maps to help debugging
closes #10
Removes the forbidden webpack config 'chromeExtensionBoilerplate'
before build and webserver's start
Although I know that it's not a good practice, right now I don't know a
good way to keep the boilerplate configs simple as it is today without
this hacky solution, so, until we came with a better solution, we'll
remove the key before build and webserver's start.
#9
Update README.md
Removing babel.js
Basically, we don't need transpiling with babel since Webpack 2 take care of
ES6 modules transpiling and the ES2015 is supported by Chrome.
kudos @gagarine
resolve #16
Setup boilerplate to load images and other assets in html and css
resolves #18
resolves #23
resolves #14
resolves #12
Added icons and images boilerplate
Split dependencies on package.json
resolves #15
Webpack config improvements (#26)
- Use CopyWebpackPlugin to generate `manifest.json` file
- Use CleanWebpackPlugin to clear build folder
Minor README adjustments
* explicitly the required node version
* pointing to yarn install instructions page instead suggest install
with npm. the yarn page will be always updated to the best way to install
the yarn.
closes #28
Adding the contribution guidelines
2016-04-14 06:16:50 -07:00
|
|
|
"scripts": {
|
2019-01-04 13:27:24 -08:00
|
|
|
"build": "webpack --progress --profile --colors",
|
|
|
|
"watch": "webpack --watch --progress --colors",
|
|
|
|
"dev": "npm run watch",
|
|
|
|
"eslint": "eslint src",
|
|
|
|
"flow": "flow"
|
Collapse boilerplate in a single commit
First prototype
Added the README
Fixed the hot module replacement
Minor adjustments on readme
Normalizing the env vars and using it capitalized
Added info about the react.js branch
Fix babel transpiling
Using yarn
Removing the babel package, just the babel-core does the job
Using just the dependencies key on package.json
Since it isn't a lib package doesn't matter the separation between
devDependencies and dependencies.
Updating the css-loader
Updating the fs-extra
Moving the utility packages to utils folder
Better description
Adds the license
closes #3
Write the env vars on the bundle file
http://dev.topheman.com/make-your-react-production-minified-version-with-webpack/
Fixs the hot reload setup
Sringifies the env object to define plugin
Uses the webpack html plugin to generate the pages in a less hacky way
Uses the write-file-webpack-plugin
this plugin allows the webpack write on disk all files, even running
with the webserver, which is necessary to the hot reload.
this plugin also help us to remove nasty hacks and expose bundles to
other extension features.
Allows exclude some entry points to be hot reloaded
It's useful for content scripts that can't keep the connection with the
webpack endpoint.
Updates the webpack
Updates the README with instructions about the content scripts
resolves #4
Updates to Webpack 2
closes #8
Expand the DefinePlugin usage
In Webpack 1, the replaced value at compile time by define plugin was placed with
parenthesis, like ({"NODE_ENV":"development","PORT":3000}), now, it not works in
this way, breaking the app.
So, to simplify the things, this commit just passes the NODE_ENV var.
Fix README
Exclude /node_modules/ from babel and css transpiling #9
Source maps to help debugging
closes #10
Removes the forbidden webpack config 'chromeExtensionBoilerplate'
before build and webserver's start
Although I know that it's not a good practice, right now I don't know a
good way to keep the boilerplate configs simple as it is today without
this hacky solution, so, until we came with a better solution, we'll
remove the key before build and webserver's start.
#9
Update README.md
Removing babel.js
Basically, we don't need transpiling with babel since Webpack 2 take care of
ES6 modules transpiling and the ES2015 is supported by Chrome.
kudos @gagarine
resolve #16
Setup boilerplate to load images and other assets in html and css
resolves #18
resolves #23
resolves #14
resolves #12
Added icons and images boilerplate
Split dependencies on package.json
resolves #15
Webpack config improvements (#26)
- Use CopyWebpackPlugin to generate `manifest.json` file
- Use CleanWebpackPlugin to clear build folder
Minor README adjustments
* explicitly the required node version
* pointing to yarn install instructions page instead suggest install
with npm. the yarn page will be always updated to the best way to install
the yarn.
closes #28
Adding the contribution guidelines
2016-04-14 06:16:50 -07:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2019-01-04 13:27:24 -08:00
|
|
|
"@babel/core": "^7.2.2",
|
|
|
|
"@babel/preset-env": "^7.2.3",
|
|
|
|
"@babel/preset-flow": "^7.0.0",
|
2019-01-06 12:49:39 -08:00
|
|
|
"babel-eslint": "^10.0.1",
|
2019-01-06 05:35:22 -08:00
|
|
|
"clean-webpack-plugin": "^1.0.0",
|
|
|
|
"copy-webpack-plugin": "^4.2.0",
|
|
|
|
"css-loader": "^2.1.0",
|
2019-01-05 06:05:51 -08:00
|
|
|
"eslint": "^5.12.0",
|
2019-01-04 13:27:24 -08:00
|
|
|
"eslint-config-google": "^0.11.0",
|
2019-01-06 12:49:39 -08:00
|
|
|
"eslint-plugin-flowtype": "^3.2.0",
|
2019-01-06 05:35:22 -08:00
|
|
|
"file-loader": "^3.0.1",
|
|
|
|
"flow-bin": "^0.89.0",
|
2019-01-04 14:24:51 -08:00
|
|
|
"flow-interfaces-chrome": "^0.5.3",
|
2019-01-05 06:05:51 -08:00
|
|
|
"fs-extra": "^7.0.1",
|
2019-01-06 05:35:22 -08:00
|
|
|
"html-loader": "^0.5.5",
|
|
|
|
"html-webpack-plugin": "^3.2.0",
|
|
|
|
"style-loader": "^0.23.1",
|
2019-01-05 05:55:22 -08:00
|
|
|
"webpack": "^4.28.3",
|
2019-01-05 06:05:51 -08:00
|
|
|
"webpack-cli": "^3.2.0",
|
2019-01-05 05:55:22 -08:00
|
|
|
"webpack-dev-server": "^3.1.14",
|
2019-01-06 05:42:54 -08:00
|
|
|
"webpack-extension-manifest-plugin": "^0.4.3",
|
2019-01-06 05:35:22 -08:00
|
|
|
"write-file-webpack-plugin": "^4.5.0"
|
2019-01-04 13:27:24 -08:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2019-01-06 05:35:22 -08:00
|
|
|
"babel-loader": "^8.0.5"
|
Collapse boilerplate in a single commit
First prototype
Added the README
Fixed the hot module replacement
Minor adjustments on readme
Normalizing the env vars and using it capitalized
Added info about the react.js branch
Fix babel transpiling
Using yarn
Removing the babel package, just the babel-core does the job
Using just the dependencies key on package.json
Since it isn't a lib package doesn't matter the separation between
devDependencies and dependencies.
Updating the css-loader
Updating the fs-extra
Moving the utility packages to utils folder
Better description
Adds the license
closes #3
Write the env vars on the bundle file
http://dev.topheman.com/make-your-react-production-minified-version-with-webpack/
Fixs the hot reload setup
Sringifies the env object to define plugin
Uses the webpack html plugin to generate the pages in a less hacky way
Uses the write-file-webpack-plugin
this plugin allows the webpack write on disk all files, even running
with the webserver, which is necessary to the hot reload.
this plugin also help us to remove nasty hacks and expose bundles to
other extension features.
Allows exclude some entry points to be hot reloaded
It's useful for content scripts that can't keep the connection with the
webpack endpoint.
Updates the webpack
Updates the README with instructions about the content scripts
resolves #4
Updates to Webpack 2
closes #8
Expand the DefinePlugin usage
In Webpack 1, the replaced value at compile time by define plugin was placed with
parenthesis, like ({"NODE_ENV":"development","PORT":3000}), now, it not works in
this way, breaking the app.
So, to simplify the things, this commit just passes the NODE_ENV var.
Fix README
Exclude /node_modules/ from babel and css transpiling #9
Source maps to help debugging
closes #10
Removes the forbidden webpack config 'chromeExtensionBoilerplate'
before build and webserver's start
Although I know that it's not a good practice, right now I don't know a
good way to keep the boilerplate configs simple as it is today without
this hacky solution, so, until we came with a better solution, we'll
remove the key before build and webserver's start.
#9
Update README.md
Removing babel.js
Basically, we don't need transpiling with babel since Webpack 2 take care of
ES6 modules transpiling and the ES2015 is supported by Chrome.
kudos @gagarine
resolve #16
Setup boilerplate to load images and other assets in html and css
resolves #18
resolves #23
resolves #14
resolves #12
Added icons and images boilerplate
Split dependencies on package.json
resolves #15
Webpack config improvements (#26)
- Use CopyWebpackPlugin to generate `manifest.json` file
- Use CleanWebpackPlugin to clear build folder
Minor README adjustments
* explicitly the required node version
* pointing to yarn install instructions page instead suggest install
with npm. the yarn page will be always updated to the best way to install
the yarn.
closes #28
Adding the contribution guidelines
2016-04-14 06:16:50 -07:00
|
|
|
}
|
|
|
|
}
|