Skip to content

Commit e641a67

Browse files
committed
feat(init): pull out the basic angular code from grid core
0 parents  commit e641a67

28 files changed

+1618
-0
lines changed

.DS_Store

6 KB
Binary file not shown.

.eslintrc

Lines changed: 161 additions & 0 deletions
Large diffs are not rendered by default.

.gitignore

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
.idea
2+
.sass-cache
3+
**/node_modules/**
4+
!**/node_modules/@grid
5+
bower_components/
6+
build
7+
node_modules
8+
tmp
9+
test-assets
10+
/coverage
11+
release
12+
release/bundle*.css

.jshintrc

Lines changed: 148 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,148 @@
1+
{
2+
// JSHint Default Configuration File (as on JSHint website)
3+
// See http://jshint.com/docs/ for more details
4+
5+
"maxerr": 50,
6+
// {int} Maximum error before stopping
7+
8+
// Enforcing
9+
"bitwise": true,
10+
// true: Prohibit bitwise operators (&, |, ^, etc.)
11+
"camelcase": true,
12+
// true: Identifiers must be in camelCase
13+
"curly": true,
14+
// true: Require {} for every new block or scope
15+
"eqeqeq": true,
16+
// true: Require triple equals (===) for comparison
17+
"forin": true,
18+
// true: Require filtering for..in loops with obj.hasOwnProperty()
19+
"immed": true,
20+
// true: Require immediate invocations to be wrapped in parens e.g. `(function () { } ());`
21+
"indent": 4,
22+
// {int} Number of spaces to use for indentation
23+
"latedef": "nofunc",
24+
// true: Require variables/functions to be defined before being used
25+
"newcap": true,
26+
// true: Require capitalization of all constructor functions e.g. `new F()`
27+
"noarg": true,
28+
// true: Prohibit use of `arguments.caller` and `arguments.callee`
29+
"noempty": true,
30+
// true: Prohibit use of empty blocks
31+
"nonew": false,
32+
// true: Prohibit use of constructors for side-effects (without assignment)
33+
"plusplus": false,
34+
// true: Prohibit use of `++` & `--`
35+
"quotmark": "single",
36+
// Quotation mark consistency:
37+
"smarttabs": true,
38+
"trailing": true,
39+
"undef": true,
40+
// true: Require all non-global variables to be declared (prevents global leaks)
41+
"unused": "vars",
42+
// true: Require all defined variables be used
43+
"strict": false,
44+
// true: Requires all functions run in ES5 Strict Mode
45+
"maxparams": false,
46+
// {int} Max number of formal params allowed per function
47+
"maxdepth": false,
48+
// {int} Max depth of nested blocks (within functions)
49+
"maxstatements": false,
50+
// {int} Max number statements per function
51+
"maxcomplexity": false,
52+
// {int} Max cyclomatic complexity per function
53+
"maxlen": false,
54+
// {int} Max number of characters per line
55+
56+
// Relaxing
57+
"asi": false,
58+
// true: Tolerate Automatic Semicolon Insertion (no semicolons)
59+
"boss": false,
60+
// true: Tolerate assignments where comparisons would be expected
61+
"debug": false,
62+
// true: Allow debugger statements e.g. browser breakpoints.
63+
"eqnull": false,
64+
// true: Tolerate use of `== null`
65+
"esnext": true,
66+
// true: Allow ES.next (ES6) syntax (ex: `const`)
67+
"moz": false,
68+
// true: Allow Mozilla specific syntax (extends and overrides esnext features)
69+
// (ex: `for each`, multiple try/catch, function expression…)
70+
"evil": false,
71+
// true: Tolerate use of `eval` and `new Function()`
72+
"expr": true,
73+
// true: Tolerate `ExpressionStatement` as Programs
74+
"funcscope": false,
75+
// true: Tolerate defining variables inside control statements"
76+
"globalstrict": false,
77+
// true: Allow global "use strict" (also enables 'strict')
78+
"iterator": false,
79+
// true: Tolerate using the `__iterator__` property
80+
"lastsemic": false,
81+
// true: Tolerate omitting a semicolon for the last statement of a 1-line block
82+
"laxbreak": false,
83+
// true: Tolerate possibly unsafe line breakings
84+
"laxcomma": false,
85+
// true: Tolerate comma-first style coding
86+
"loopfunc": false,
87+
// true: Tolerate functions being defined in loops
88+
"multistr": true,
89+
// true: Tolerate multi-line strings
90+
"proto": false,
91+
// true: Tolerate using the `__proto__` property
92+
"scripturl": false,
93+
// true: Tolerate script-targeted URLs
94+
"shadow": false,
95+
// true: Allows re-define variables later in code e.g. `var x=1; x=2;`
96+
"sub": false,
97+
// true: Tolerate using `[]` notation when it can still be expressed in dot notation
98+
"supernew": false,
99+
// true: Tolerate `new function () { ... };` and `new Object;`
100+
"validthis": false,
101+
// true: Tolerate using this in a non-constructor function
102+
103+
// Environments
104+
"browser": true,
105+
// Web Browser (window, document, etc)
106+
"couch": false,
107+
// CouchDB
108+
"devel": true,
109+
// Development/debugging (alert, confirm, etc)
110+
"dojo": false,
111+
// Dojo Toolkit
112+
"jquery": true,
113+
// jQuery
114+
"mootools": false,
115+
// MooTools
116+
"node": true,
117+
// Node.js
118+
"nonstandard": false,
119+
// Widely adopted globals (escape, unescape, etc)
120+
"prototypejs": false,
121+
// Prototype and Scriptaculous
122+
"rhino": false,
123+
// Rhino
124+
"worker": false,
125+
// Web Workers
126+
"wsh": false,
127+
// Windows Scripting Host
128+
"yui": false,
129+
// Yahoo User Interface
130+
131+
"globals": {
132+
"angular": false,
133+
"describe": false,
134+
"it": false,
135+
"afterEach": false,
136+
"beforeEach": false,
137+
"confirm": false,
138+
"context": false,
139+
"expect": false,
140+
"jasmine": false,
141+
"JSHINT": false,
142+
"mostRecentAjaxRequest": false,
143+
"qq": false,
144+
"spyOn": false,
145+
"spyOnEvent": false,
146+
"xdescribe": false
147+
}
148+
}

.npmignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
.idea
2+
.sass-cache
3+
**/node_modules/**
4+
!**/node_modules/@grid
5+
/bower_components/**/node_modules
6+
build
7+
tmp
8+
test-assets
9+
/coverage

.npmrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
save-prefix=~
2+
ca=

.vscode/settings.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
// Place your settings in this file to overwrite default and user settings.
2+
{
3+
"editor.tabSize": 4,
4+
"editor.formatOnSave": false
5+
}

.yo-rc.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"generator-angulpify": {
3+
"projectName": "uiq",
4+
"coffee": false,
5+
"jade": false,
6+
"sass": true,
7+
"bootstrap": false,
8+
"uiBootstrap": false,
9+
"uiRouter": false
10+
}
11+
}

CONTRIBUTING.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
We use semantic release so if you don't already have it:
2+
3+
`npm i -g commitizen`
4+
5+
to commit run `git cz` (or if you're a really good commitizen just alias your favorite commit alias to that)
6+
7+
see [semantic release](https://github.com/semantic-release/semantic-release) for guidelines on how to make commits. we use the standard conventional changelog format.
8+
9+
there is an automagic circle ci build setup on the master branch which will publish based on your commits as described in the doc above so there's no need to manage npm access or even think about which version to bump.
10+
11+
please first submit prs if you are an org member.

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2014 RelateIQ
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
13+
all 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
21+
THE SOFTWARE.

0 commit comments

Comments
 (0)