Skip to content

Commit a3c74c8

Browse files
author
Bulfair, Matt
committed
Removing any use of es2015 to use env
1 parent 6f14077 commit a3c74c8

File tree

3 files changed

+24
-27
lines changed

3 files changed

+24
-27
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "edition-node-webpack",
33
"description": "A pure wrapper around patternlab-node core, the default pattern engine, and supporting frontend assets.",
4-
"version": "1.0.7",
4+
"version": "1.0.6",
55
"dependencies": {
66
"babel-core": "^6.26.0",
77
"babel-loader": "^7.1.2",
@@ -20,6 +20,7 @@
2020
"bugs": "https://github.com/Comcast/patternlab-edition-node-webpack/issues",
2121
"author": "Matt Bulfair <[email protected]>",
2222
"contributors": [
23+
"Josh Schneider <[email protected]>",
2324
"Rodrigo Gualberto <[email protected]>",
2425
"Paul Wright <[email protected]>"
2526
],

readme.md

Lines changed: 21 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -4,25 +4,6 @@
44
# Pattern Lab Node - Webpack Edition
55
The webpack wrapper around [Pattern Lab Node Core](https://github.com/pattern-lab/patternlab-node) providing tasks to interact with the core library and move supporting frontend assets.
66

7-
8-
9-
## Quickstart Guide
10-
*If you do not have nodejs installed, please check the **Prerequisites** section*
11-
12-
13-
1. Download or clone this repository
14-
Example: `git clone [email protected]:Comcast/patternlab-edition-node-webpack.git`
15-
2. In a terminal window, navigate to the downloaded directory
16-
Example: `cd path/to/patternlab-edition-node-webpack`
17-
3. To populate Patternlab with sample data, install a starter kit
18-
Run `npm install starterkit-mustache-demo`
19-
There are other [starterkits](https://github.com/pattern-lab?utf8=%E2%9C%93&q=starterkit&type=&language=) available
20-
4. Generate sample files
21-
Run: `npm run patternlab:loadstarterkit --kit=starterkit-mustache-demo`
22-
5. Show Patternlab in a Webbrowser
23-
Run: `npm run patternlab:serve`
24-
25-
267
## Packaged Components
278

289
The webpack edition comes with the following components:
@@ -36,6 +17,20 @@ The webpack edition comes with the following components:
3617

3718
The Pattern Lab Node - webpack edition uses [Node](https://nodejs.org/en/) for core processing, [npm](https://www.npmjs.com/) to manage project dependencies, and [webpack.io](https://webpack.github.io/) to run tasks and interface with the core library. Node version 4 or higher suffices. You can follow the directions for [installing Node](https://nodejs.org/en/download/) on the Node website if you haven't done so already. Installation of Node will include npm.
3819

20+
## Quickstart Guide
21+
_Note: You must have all of the prerequisites first_
22+
23+
1. Download the `.zip` or fork this repository, then clone it locally.
24+
> `git clone [email protected]:YOURGROUP/patternlab-edition-node-webpack.git`
25+
1. In a terminal window, navigate to the downloaded directory
26+
> `cd path/to/patternlab-edition-node-webpack`
27+
1. To populate Patternlab with sample data, install a starter kit, there are many [starterkits](https://github.com/pattern-lab?utf8=%E2%9C%93&q=starterkit&type=&language=) choose from
28+
> `npm install starterkit-mustache-demo`
29+
1. Generate sample files
30+
> `npm run patternlab:loadstarterkit --kit=starterkit-mustache-demo`
31+
1. Show Patternlab in a Webbrowser
32+
> `npm run patternlab:serve`
33+
3934
## Installing
4035

4136
`npm install`
@@ -136,7 +131,7 @@ By default merge does a `append` if that option works for you only set which web
136131
### Licenses
137132
* [babel-core](https://github.com/babel/babel/blob/master/LICENSE) - MIT
138133
* [babel-loader](https://github.com/babel/babel-loader/blob/master/LICENSE) -MIT,
139-
* [babel-preset-es2015](https://github.com/babel/babel/blob/master/LICENSE) - MIT
134+
* [babel-preset-env](https://github.com/babel/babel/blob/master/LICENSE) - MIT
140135
* [copy-webpack-plugin](https://github.com/webpack-contrib/copy-webpack-plugin/blob/master/LICENSE) - MIT
141136
* [event-hooks-webpack-plugin](https://github.com/cascornelissen/event-hooks-webpack-plugin/blob/master/LICENSE.md) - MIT
142137
* [globby](https://github.com/sindresorhus/globby/blob/master/license) - MIT
@@ -148,9 +143,10 @@ By default merge does a `append` if that option works for you only set which web
148143
* [webpack-dev-server](https://github.com/webpack/webpack-dev-server/blob/master/LICENSE) - MIT
149144
* [webpack-merge](https://github.com/survivejs/webpack-merge/blob/master/LICENSE) - MIT
150145
151-
### Contributions
146+
### Contributors
152147
153-
Contributor | Message / How to Reach
154-
----------- | --------------
155-
![@paintedbicycle](https://avatars3.githubusercontent.com/u/371114?s=75&v=4)[@paintedbicycle](https://github.com/paintedbicycle) | **Paul Wright** - [https://paintedbicycle.com](https://paintedbicycle.com)
156-
![@rgualberto](https://avatars3.githubusercontent.com/u/5126167?v=4&s=75)[@rgualberto](https://github.com/rgualberto) | "A huge thank you to a incredible developer [Rodrigo Gualberto](https://github.com/rgualberto) for all of his hard work, dedication, and support from the start of project."
148+
| | | |
149+
----------- | :-------------- | :-- |
150+
| ![@Josh68](https://avatars2.githubusercontent.com/u/771447?s=460&v=4)| **Josh Schneider** | [GitHub](https://github.com/Josh68)
151+
| ![@paintedbicycle](https://avatars3.githubusercontent.com/u/371114?s=75&v=4)| **Paul Wright** | [Website](https://paintedbicycle.com)
152+
| ![@rgualberto](https://avatars3.githubusercontent.com/u/5126167?v=4&s=75) | **Rodrigo Gualberto** | [GitHub](https://github.com/rgualberto)

webpack.config.babel.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ module.exports = env => {
150150
loader: 'babel-loader',
151151
options: {
152152
presets: [
153-
['es2015', { modules: false }]
153+
['env', { modules: false }]
154154
]
155155
}
156156
}]

0 commit comments

Comments
 (0)