##// END OF EJS Templates
js: organized and updated JS packages....
marcink -
r2123:f43bc711 default
parent child Browse files
Show More

The requested changes are too big and content was truncated. Show full diff

@@ -1,192 +1,193 b''
1 1 {
2 2 "dirs": {
3 3 "css": {
4 4 "src":"rhodecode/public/css",
5 5 "dest":"rhodecode/public/css"
6 6 },
7 7 "js": {
8 8 "src": "rhodecode/public/js/src",
9 "src_rc": "rhodecode/public/js/rhodecode",
9 10 "dest": "rhodecode/public/js",
10 11 "bower": "bower_components",
11 12 "node_modules": "node_modules"
12 13 }
13 14 },
14 15 "copy": {
15 16 "main": {
16 17 "expand": true,
17 18 "cwd": "bower_components",
18 19 "src": "webcomponentsjs/webcomponents-lite.js",
19 20 "dest": "<%= dirs.js.dest %>/vendors"
20 21 }
21 22 },
22 23 "concat": {
23 24 "polymercss": {
24 25 "src": [
25 26 "<%= dirs.js.src %>/components/root-styles-prefix.html",
26 27 "<%= dirs.css.src %>/style-polymer.css",
27 28 "<%= dirs.js.src %>/components/root-styles-suffix.html"
28 29 ],
29 30 "dest": "<%= dirs.js.dest %>/src/components/root-styles.gen.html",
30 31 "nonull": true
31 32 },
32 33 "dist": {
33 34 "src": [
34 "<%= dirs.js.src %>/jquery-1.11.1.min.js",
35 "<%= dirs.js.node_modules %>/jquery/dist/jquery.min.js",
36 "<%= dirs.js.node_modules %>/mousetrap/mousetrap.min.js",
37 "<%= dirs.js.node_modules %>/moment/min/moment.min.js",
38 "<%= dirs.js.node_modules %>/clipboard/dist/clipboard.min.js",
39 "<%= dirs.js.node_modules %>/favico.js/favico-0.3.10.min.js",
40 "<%= dirs.js.node_modules %>/appenlight-client/appenlight-client.min.js",
35 41 "<%= dirs.js.src %>/logging.js",
36 42 "<%= dirs.js.src %>/bootstrap.js",
37 "<%= dirs.js.src %>/mousetrap.js",
38 "<%= dirs.js.src %>/moment.js",
39 "<%= dirs.js.src %>/clipboard.min.js",
40 "<%= dirs.js.node_modules %>/appenlight-client/appenlight-client.min.js",
41 "<%= dirs.js.node_modules %>/favico.js/favico-0.3.10.min.js",
42 43 "<%= dirs.js.src %>/i18n_utils.js",
43 44 "<%= dirs.js.src %>/deform.js",
44 45 "<%= dirs.js.src %>/plugins/jquery.pjax.js",
45 46 "<%= dirs.js.src %>/plugins/jquery.dataTables.js",
46 47 "<%= dirs.js.src %>/plugins/flavoured_checkbox.js",
47 48 "<%= dirs.js.src %>/plugins/jquery.auto-grow-input.js",
48 49 "<%= dirs.js.src %>/plugins/jquery.autocomplete.js",
49 50 "<%= dirs.js.src %>/plugins/jquery.debounce.js",
50 51 "<%= dirs.js.src %>/plugins/jquery.mark.js",
51 52 "<%= dirs.js.src %>/plugins/jquery.timeago.js",
52 53 "<%= dirs.js.src %>/plugins/jquery.timeago-extension.js",
53 54 "<%= dirs.js.src %>/select2/select2.js",
54 55 "<%= dirs.js.src %>/codemirror/codemirror.js",
55 56 "<%= dirs.js.src %>/codemirror/codemirror_loadmode.js",
56 57 "<%= dirs.js.src %>/codemirror/codemirror_hint.js",
57 58 "<%= dirs.js.src %>/codemirror/codemirror_overlay.js",
58 59 "<%= dirs.js.src %>/codemirror/codemirror_placeholder.js",
59 60 "<%= dirs.js.dest %>/mode/meta.js",
60 61 "<%= dirs.js.dest %>/mode/meta_ext.js",
61 "<%= dirs.js.dest %>/rhodecode/i18n/select2/translations.js",
62 "<%= dirs.js.src_rc %>/i18n/select2/translations.js",
62 63 "<%= dirs.js.src %>/rhodecode/utils/array.js",
63 64 "<%= dirs.js.src %>/rhodecode/utils/string.js",
64 65 "<%= dirs.js.src %>/rhodecode/utils/pyroutes.js",
65 66 "<%= dirs.js.src %>/rhodecode/utils/ajax.js",
66 67 "<%= dirs.js.src %>/rhodecode/utils/autocomplete.js",
67 68 "<%= dirs.js.src %>/rhodecode/utils/colorgenerator.js",
68 69 "<%= dirs.js.src %>/rhodecode/utils/ie.js",
69 70 "<%= dirs.js.src %>/rhodecode/utils/os.js",
70 71 "<%= dirs.js.src %>/rhodecode/utils/topics.js",
71 72 "<%= dirs.js.src %>/rhodecode/init.js",
72 73 "<%= dirs.js.src %>/rhodecode/changelog.js",
73 74 "<%= dirs.js.src %>/rhodecode/codemirror.js",
74 75 "<%= dirs.js.src %>/rhodecode/comments.js",
75 76 "<%= dirs.js.src %>/rhodecode/constants.js",
76 77 "<%= dirs.js.src %>/rhodecode/files.js",
77 78 "<%= dirs.js.src %>/rhodecode/followers.js",
78 79 "<%= dirs.js.src %>/rhodecode/menus.js",
79 80 "<%= dirs.js.src %>/rhodecode/notifications.js",
80 81 "<%= dirs.js.src %>/rhodecode/permissions.js",
81 82 "<%= dirs.js.src %>/rhodecode/pjax.js",
82 83 "<%= dirs.js.src %>/rhodecode/pullrequests.js",
83 84 "<%= dirs.js.src %>/rhodecode/settings.js",
84 85 "<%= dirs.js.src %>/rhodecode/select2_widgets.js",
85 86 "<%= dirs.js.src %>/rhodecode/tooltips.js",
86 87 "<%= dirs.js.src %>/rhodecode/users.js",
87 88 "<%= dirs.js.src %>/rhodecode/appenlight.js",
88 89 "<%= dirs.js.src %>/rhodecode.js"
89 90 ],
90 91 "dest": "<%= dirs.js.dest %>/scripts.js",
91 92 "nonull": true
92 93 }
93 94 },
94 95 "crisper": {
95 96 "dist": {
96 97 "options": {
97 98 "cleanup": false,
98 99 "onlySplit": true
99 100 },
100 101 "src": "<%= dirs.js.dest %>/rhodecode-components.html",
101 102 "dest": "<%= dirs.js.dest %>/rhodecode-components.js"
102 103 }
103 104 },
104 105 "less": {
105 106 "development": {
106 107 "options": {
107 108 "compress": false,
108 109 "yuicompress": false,
109 110 "optimization": 0
110 111 },
111 112 "files": {
112 113 "<%= dirs.css.dest %>/style.css": "<%= dirs.css.src %>/main.less",
113 114 "<%= dirs.css.dest %>/style-polymer.css": "<%= dirs.css.src %>/polymer.less"
114 115 }
115 116 },
116 117 "production": {
117 118 "options": {
118 119 "compress": true,
119 120 "yuicompress": true,
120 121 "optimization": 2
121 122 },
122 123 "files": {
123 124 "<%= dirs.css.dest %>/style.css": "<%= dirs.css.src %>/main.less",
124 125 "<%= dirs.css.dest %>/style-polymer.css": "<%= dirs.css.src %>/polymer.less"
125 126 }
126 127 },
127 128 "components": {
128 129 "files": [
129 130 {
130 131 "cwd": "<%= dirs.js.src %>/components/",
131 132 "dest": "<%= dirs.js.src %>/components/",
132 133 "src": [
133 134 "**/*.less"
134 135 ],
135 136 "expand": true,
136 137 "ext": ".css"
137 138 }
138 139 ]
139 140 }
140 141 },
141 142 "watch": {
142 143 "less": {
143 144 "files": [
144 145 "<%= dirs.css.src %>/**/*.less",
145 146 "<%= dirs.js.src %>/components/**/*.less"
146 147 ],
147 148 "tasks": [
148 149 "less:development",
149 150 "less:components",
150 151 "concat:polymercss",
151 152 "vulcanize",
152 153 "crisper",
153 154 "concat:dist"
154 155 ]
155 156 },
156 157 "js": {
157 158 "files": [
158 159 "!<%= dirs.js.src %>/components/root-styles.gen.html",
159 160 "<%= dirs.js.src %>/**/*.js",
160 161 "<%= dirs.js.src %>/components/**/*.html"
161 162 ],
162 163 "tasks": [
163 164 "less:components",
164 165 "concat:polymercss",
165 166 "vulcanize",
166 167 "crisper",
167 168 "concat:dist"
168 169 ]
169 170 }
170 171 },
171 172 "jshint": {
172 173 "rhodecode": {
173 174 "src": "<%= dirs.js.src %>/rhodecode/**/*.js",
174 175 "options": {
175 176 "jshintrc": ".jshintrc"
176 177 }
177 178 }
178 179 },
179 180 "vulcanize": {
180 181 "default": {
181 182 "options": {
182 183 "abspath": "",
183 184 "inlineScripts": true,
184 185 "inlineCss": true,
185 186 "stripComments": true
186 187 },
187 188 "files": {
188 189 "<%= dirs.js.dest %>/rhodecode-components.html": "<%= dirs.js.src %>/components/shared-components.html"
189 190 }
190 191 }
191 192 }
192 193 }
@@ -1,20 +1,25 b''
1 1 {
2 2 "name": "rhodecode-enterprise",
3 3 "version": "0.0.1",
4 4 "devDependencies": {
5 5 "grunt": "^0.4.5",
6 6 "grunt-contrib-copy": "^1.0.0",
7 7 "grunt-contrib-concat": "^0.5.1",
8 8 "grunt-contrib-jshint": "^0.12.0",
9 9 "grunt-contrib-less": "^1.1.0",
10 10 "grunt-contrib-watch": "^0.6.1",
11 11 "crisper": "^2.0.2",
12 12 "vulcanize": "^1.14.8",
13 13 "grunt-crisper": "^1.0.1",
14 14 "grunt-vulcanize": "^1.0.0",
15 "node2nix": "^1.0.0",
15 16 "jshint": "^2.9.1-rc3",
16 17 "bower": "^1.7.9",
18 "jquery": "1.11.3",
17 19 "favico.js": "^0.3.10",
18 "appenlight-client": "git+https://git@github.com/AppEnlight/appenlight-client-js.git#0.5.0"
20 "clipboard": "^1.7.1",
21 "moment": "^2.18.1",
22 "mousetrap": "^1.6.1",
23 "appenlight-client": "git+https://git@github.com/AppEnlight/appenlight-client-js.git#0.5.1"
19 24 }
20 25 }
1 NO CONTENT: modified file
The requested commit or file is too big and content was truncated. Show full diff
1 NO CONTENT: file renamed from rhodecode/public/js/excanvas.min.js to rhodecode/public/js/src/excanvas.min.js
1 NO CONTENT: file renamed from rhodecode/public/js/jquery.commits-graph.js to rhodecode/public/js/src/plugins/jquery.commits-graph.js
1 NO CONTENT: modified file
The requested commit or file is too big and content was truncated. Show full diff
1 NO CONTENT: modified file
The requested commit or file is too big and content was truncated. Show full diff
1 NO CONTENT: file was removed
1 NO CONTENT: file was removed
1 NO CONTENT: file was removed
The requested commit or file is too big and content was truncated. Show full diff
1 NO CONTENT: file was removed
The requested commit or file is too big and content was truncated. Show full diff
1 NO CONTENT: file was removed
The requested commit or file is too big and content was truncated. Show full diff
General Comments 0
You need to be logged in to leave comments. Login now