Skip to content

Commit a9c0928

Browse files
committed
~ init
0 parents  commit a9c0928

14 files changed

+682
-0
lines changed

.coveralls.yml

Whitespace-only changes.

.gitignore

+122
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,122 @@
1+
# Created by .ignore support plugin (hsz.mobi)
2+
### JetBrains template
3+
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm
4+
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
5+
6+
# User-specific stuff:
7+
.idea/
8+
9+
## File-based project format:
10+
*.iws
11+
12+
## Plugin-specific files:
13+
14+
# IntelliJ
15+
/out/
16+
17+
# mpeltonen/sbt-idea plugin
18+
.idea_modules/
19+
20+
# JIRA plugin
21+
atlassian-ide-plugin.xml
22+
23+
# Crashlytics plugin (for Android Studio and IntelliJ)
24+
com_crashlytics_export_strings.xml
25+
crashlytics.properties
26+
crashlytics-build.properties
27+
fabric.properties
28+
### Windows template
29+
# Windows image file caches
30+
Thumbs.db
31+
ehthumbs.db
32+
33+
# Folder config file
34+
Desktop.ini
35+
36+
# Recycle Bin used on file shares
37+
$RECYCLE.BIN/
38+
39+
# Windows Installer files
40+
*.cab
41+
*.msi
42+
*.msm
43+
*.msp
44+
45+
# Windows shortcuts
46+
*.lnk
47+
### OSX template
48+
.DS_Store
49+
.AppleDouble
50+
.LSOverride
51+
52+
# Icon must end with two \r
53+
Icon
54+
55+
# Thumbnails
56+
._*
57+
58+
# Files that might appear in the root of a volume
59+
.DocumentRevisions-V100
60+
.fseventsd
61+
.Spotlight-V100
62+
.TemporaryItems
63+
.Trashes
64+
.VolumeIcon.icns
65+
66+
# Directories potentially created on remote AFP share
67+
.AppleDB
68+
.AppleDesktop
69+
Network Trash Folder
70+
Temporary Items
71+
.apdisk
72+
### Node template
73+
# Logs
74+
logs
75+
*.log
76+
npm-debug.log*
77+
78+
# Runtime data
79+
pids
80+
*.pid
81+
*.seed
82+
83+
# Directory for instrumented libs generated by jscoverage/JSCover
84+
lib-cov
85+
86+
# Coverage directory used by tools like istanbul
87+
coverage
88+
89+
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
90+
.grunt
91+
92+
# node-waf configuration
93+
.lock-wscript
94+
95+
# Compiled binary addons (http://nodejs.org/api/addons.html)
96+
build/Release
97+
98+
# Dependency directories
99+
node_modules
100+
jspm_packages
101+
102+
# Optional npm cache directory
103+
.npm
104+
105+
# Optional REPL history
106+
.node_repl_history
107+
### SublimeText template
108+
# cache files for sublime text
109+
*.tmlanguage.cache
110+
*.tmPreferences.cache
111+
*.stTheme.cache
112+
113+
# workspace files are user-specific
114+
*.sublime-workspace
115+
116+
# project files should be checked into the repository, unless a significant
117+
# proportion of contributors will probably not be using SublimeText
118+
# *.sublime-project
119+
120+
# sftp configuration file
121+
sftp-config.json
122+

.npmignore

+122
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,122 @@
1+
# Created by .ignore support plugin (hsz.mobi)
2+
### JetBrains template
3+
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm
4+
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
5+
6+
# User-specific stuff:
7+
.idea/
8+
9+
## File-based project format:
10+
*.iws
11+
12+
## Plugin-specific files:
13+
14+
# IntelliJ
15+
/out/
16+
17+
# mpeltonen/sbt-idea plugin
18+
.idea_modules/
19+
20+
# JIRA plugin
21+
atlassian-ide-plugin.xml
22+
23+
# Crashlytics plugin (for Android Studio and IntelliJ)
24+
com_crashlytics_export_strings.xml
25+
crashlytics.properties
26+
crashlytics-build.properties
27+
fabric.properties
28+
### Windows template
29+
# Windows image file caches
30+
Thumbs.db
31+
ehthumbs.db
32+
33+
# Folder config file
34+
Desktop.ini
35+
36+
# Recycle Bin used on file shares
37+
$RECYCLE.BIN/
38+
39+
# Windows Installer files
40+
*.cab
41+
*.msi
42+
*.msm
43+
*.msp
44+
45+
# Windows shortcuts
46+
*.lnk
47+
### OSX template
48+
.DS_Store
49+
.AppleDouble
50+
.LSOverride
51+
52+
# Icon must end with two \r
53+
Icon
54+
55+
# Thumbnails
56+
._*
57+
58+
# Files that might appear in the root of a volume
59+
.DocumentRevisions-V100
60+
.fseventsd
61+
.Spotlight-V100
62+
.TemporaryItems
63+
.Trashes
64+
.VolumeIcon.icns
65+
66+
# Directories potentially created on remote AFP share
67+
.AppleDB
68+
.AppleDesktop
69+
Network Trash Folder
70+
Temporary Items
71+
.apdisk
72+
### Node template
73+
# Logs
74+
logs
75+
*.log
76+
npm-debug.log*
77+
78+
# Runtime data
79+
pids
80+
*.pid
81+
*.seed
82+
83+
# Directory for instrumented libs generated by jscoverage/JSCover
84+
lib-cov
85+
86+
# Coverage directory used by tools like istanbul
87+
coverage
88+
89+
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
90+
.grunt
91+
92+
# node-waf configuration
93+
.lock-wscript
94+
95+
# Compiled binary addons (http://nodejs.org/api/addons.html)
96+
build/Release
97+
98+
# Dependency directories
99+
node_modules
100+
jspm_packages
101+
102+
# Optional npm cache directory
103+
.npm
104+
105+
# Optional REPL history
106+
.node_repl_history
107+
### SublimeText template
108+
# cache files for sublime text
109+
*.tmlanguage.cache
110+
*.tmPreferences.cache
111+
*.stTheme.cache
112+
113+
# workspace files are user-specific
114+
*.sublime-workspace
115+
116+
# project files should be checked into the repository, unless a significant
117+
# proportion of contributors will probably not be using SublimeText
118+
# *.sublime-project
119+
120+
# sftp configuration file
121+
sftp-config.json
122+

.travis.yml

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
language: node_js
2+
node_js:
3+
- 6.0
4+
before_install:
5+
- export CHROME_BIN=chromium-browser
6+
- export DISPLAY=:99.0
7+
- sh -e /etc/init.d/xvfb start

bs-config.js

+104
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
1+
'use strict';
2+
3+
var UI_PORT = 10000;
4+
var WEINRE_PORT = UI_PORT + 1;
5+
var BROWSER_SYNC_PORT = UI_PORT + 1;
6+
7+
/*
8+
|--------------------------------------------------------------------------
9+
| Browser-sync config file
10+
|--------------------------------------------------------------------------
11+
|
12+
| For up-to-date information about the options:
13+
| http://www.browsersync.io/docs/options/
14+
|
15+
| There are more options than you see here, these are just the ones that are
16+
| set internally. See the website for more info.
17+
|
18+
|
19+
*/
20+
module.exports = {
21+
"ui": {
22+
"port": UI_PORT,
23+
"weinre": {
24+
"port": WEINRE_PORT
25+
}
26+
},
27+
"files": [
28+
'./examples/**'
29+
],
30+
"watchOptions": {},
31+
"server": {
32+
baseDir: "./"
33+
},
34+
"proxy": false,
35+
"port": BROWSER_SYNC_PORT,
36+
"middleware": false,
37+
"serveStatic": [],
38+
"ghostMode": {
39+
"clicks": true,
40+
"scroll": true,
41+
"forms": {
42+
"submit": true,
43+
"inputs": true,
44+
"toggles": true
45+
}
46+
},
47+
"logLevel": "info",
48+
"logPrefix": "BS",
49+
"logConnections": false,
50+
"logFileChanges": true,
51+
"logSnippet": true,
52+
"rewriteRules": false,
53+
"open": "external",
54+
"browser": "default",
55+
"xip": false,
56+
"hostnameSuffix": false,
57+
"reloadOnRestart": false,
58+
"notify": true,
59+
"scrollProportionally": true,
60+
"scrollThrottle": 0,
61+
"scrollRestoreTechnique": "window.name",
62+
"scrollElements": [],
63+
"scrollElementMapping": [],
64+
"reloadDelay": 0,
65+
"reloadDebounce": 0,
66+
"plugins": [],
67+
"injectChanges": true,
68+
"startPath": null,
69+
"minify": true,
70+
"host": null,
71+
"codeSync": true,
72+
"timestamps": true,
73+
"clientEvents": [
74+
"scroll",
75+
"scroll:element",
76+
"input:text",
77+
"input:toggles",
78+
"form:submit",
79+
"form:reset",
80+
"click"
81+
],
82+
"socket": {
83+
"socketIoOptions": {
84+
"log": false
85+
},
86+
"path": "/browser-sync/socket.io",
87+
"clientPath": "/browser-sync",
88+
"namespace": "/browser-sync",
89+
"clients": {
90+
"heartbeatTimeout": 5000
91+
}
92+
},
93+
"tagNames": {
94+
"less": "link",
95+
"scss": "link",
96+
"css": "link",
97+
"jpg": "img",
98+
"jpeg": "img",
99+
"png": "img",
100+
"svg": "img",
101+
"gif": "img",
102+
"js": "script"
103+
}
104+
};

examples/coolie-config.js

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
coolie.config({
2+
mainModulesDir: '/examples/',
3+
nodeModulesDir: '/node_modules/',
4+
nodeModuleMainPath: 'src/index.js'
5+
}).use();

0 commit comments

Comments
 (0)