Skip to content
This repository was archived by the owner on Apr 1, 2026. It is now read-only.

Commit 47aa051

Browse files
authored
Merge pull request #33 from abuturla/webpack-refactor
Webpack refactor
2 parents 47735cf + af769ef commit 47aa051

File tree

30 files changed

+8965
-815
lines changed

30 files changed

+8965
-815
lines changed

.babelrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"presets": ["@babel/preset-env"]
3+
}

.bowerrc

Lines changed: 0 additions & 3 deletions
This file was deleted.

.eslintrc

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"extends": ["eslint:recommended"],
3+
"rules": {
4+
"quotes": 0,
5+
"strict": [2, "never"],
6+
"semi": [2, "always"],
7+
"no-multi-spaces": 0,
8+
"key-spacing": 0,
9+
"curly": 0,
10+
"no-irregular-whitespace": 0,
11+
"no-console": 0,
12+
"no-octal-escape": 0,
13+
"no-unused-vars": [2, {"vars": "all", "args": "none"}],
14+
"new-cap": 0,
15+
"no-shadow": 0,
16+
"camelcase": 0
17+
},
18+
"parserOptions": {
19+
"ecmaVersion": 6,
20+
"sourceType": "module"
21+
},
22+
"env": {
23+
"browser": true,
24+
"node": true,
25+
"mocha": true
26+
}
27+
}

.gitignore

Lines changed: 36 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,60 @@
11
# Logs
22
logs
33
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
47

58
# Runtime data
69
pids
710
*.pid
811
*.seed
12+
*.pid.lock
913

1014
# Directory for instrumented libs generated by jscoverage/JSCover
1115
lib-cov
1216

1317
# Coverage directory used by tools like istanbul
1418
coverage
1519

20+
# nyc test coverage
21+
.nyc_output
22+
1623
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
1724
.grunt
1825

26+
# Bower dependency directory (https://bower.io/)
27+
bower_components
28+
1929
# node-waf configuration
2030
.lock-wscript
2131

2232
# Compiled binary addons (http://nodejs.org/api/addons.html)
2333
build/Release
34+
dist/
35+
plugin.zip
36+
37+
# Dependency directories
38+
node_modules/
39+
jspm_packages/
40+
41+
# Typescript v1 declaration files
42+
typings/
43+
44+
# Optional npm cache directory
45+
.npm
46+
47+
# Optional eslint cache
48+
.eslintcache
49+
50+
# Optional REPL history
51+
.node_repl_history
52+
53+
# Output of 'npm pack'
54+
*.tgz
55+
56+
# Yarn Integrity file
57+
.yarn-integrity
2458

25-
# Dependency directory
26-
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git
27-
node_modules
59+
# dotenv environment variables file
60+
.env

.travis.yml

Lines changed: 0 additions & 7 deletions
This file was deleted.

LICENSE

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
The MIT License (MIT)
1+
MIT License
22

3-
Copyright (c) 2015 BuildFire
3+
Copyright (c) 2017 BuildFire
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal
@@ -19,4 +19,3 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1919
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2020
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2121
SOFTWARE.
22-

README.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,18 @@
1-
# Web View ![](https://api.travis-ci.org/BuildFire/webviewPlugin.svg)
1+
# BuildFire Webpack Plugin Template
2+
The following template uses webpack in order to provide module support and minification out of the box.
3+
4+
## Getting Started
5+
Be sure to have the latest [BuildFire CLI](https://github.com/BuildFire/sdk-cli) installed in your system.
6+
7+
# Download the latest SDK if you haven't already
8+
$ buildfire create
9+
10+
# Once inside the SDK's folder
11+
$ buildfire init webpack <pluginName>
12+
13+
## Usage
14+
Be sure to be on the SDK's folder while running the following commands
15+
16+
`$ buildfire run <pluginName>` - Start the plugin viewer on the selected `pluginName`.
17+
18+
`$ buildfire build <pluginName>` - Build the selected `pluginName`

bower.json

Lines changed: 0 additions & 20 deletions
This file was deleted.

karma.conf.js

Lines changed: 0 additions & 78 deletions
This file was deleted.

0 commit comments

Comments
 (0)