Skip to content

Commit ecc89ef

Browse files
author
Panneerselvam
committed
first commit
0 parents  commit ecc89ef

File tree

158 files changed

+8588
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

158 files changed

+8588
-0
lines changed

.appveyor.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Test against all supported versions of Node.js on windows
2+
environment:
3+
matrix:
4+
- nodejs_version: '8'
5+
- nodejs_version: '9'
6+
- nodejs_version: '10'
7+
8+
cache:
9+
- node_modules
10+
- '%APPDATA%\npm-cache'
11+
12+
# Install scripts. (runs after repo cloning)
13+
install:
14+
# Get the version of Node.js
15+
- ps: Install-Product node $env:nodejs_version
16+
- npm install --global npm@latest
17+
- npm ci
18+
19+
# Post-install test scripts.
20+
test_script:
21+
# Output useful info for debugging.
22+
- node --version
23+
- npm --version
24+
# run tests
25+
- npm test
26+
27+
# Don't actually build.
28+
build: off

.eslintignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
test/fixtures/fake-app/resources/assets/dynamic/dynamic.js
2+
test/fixtures/fake-app/resources/assets/extract/app.js

.eslintrc

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"parserOptions": {
3+
"ecmaVersion": 6,
4+
"sourceType": "module"
5+
},
6+
"env": {
7+
"node": true
8+
},
9+
"rules": {
10+
"no-const-assign": "error",
11+
"newline-before-return": "error",
12+
"semi":"error",
13+
"no-unreachable": "error",
14+
"no-extra-semi": "error",
15+
"no-unexpected-multiline": "error",
16+
"comma-dangle": ["error", {
17+
"arrays": "never",
18+
"objects": "never",
19+
"imports": "never",
20+
"exports": "never",
21+
"functions": "never"
22+
}]
23+
}
24+
}

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* text=auto eol=lf

.gitignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
node_modules/
2+
notes.md
3+
coverage
4+
.nyc_output
5+
.idea/
6+
*.log
7+
package-lock.json
8+
yarn.lock

.huskyrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"hooks": {
3+
"pre-commit": "pretty-quick --staged"
4+
}
5+
}

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.nyc_output

.prettierrc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"endOfLine": "lf",
3+
"singleQuote": true,
4+
"tabWidth": 4,
5+
"semi": true
6+
}

.travis.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
language: node_js
2+
3+
# Test linux and osx
4+
os:
5+
- linux
6+
- osx
7+
8+
# Test against all supported versions of Node.js
9+
node_js:
10+
- '8'
11+
- '10'
12+
- '12'
13+
- '13'
14+
15+
# Run ESLint after npm test
16+
script:
17+
- npm run eslint
18+
19+
cache:
20+
directories:
21+
- 'node_modules'

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2018 Jeffrey Way <[email protected]>
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

0 commit comments

Comments
 (0)