File tree Expand file tree Collapse file tree 3 files changed +58
-7
lines changed Expand file tree Collapse file tree 3 files changed +58
-7
lines changed Original file line number Diff line number Diff line change @@ -149,4 +149,4 @@ data: {
149
149
150
150
MIT
151
151
152
- Copyright (c) 2015-2016 Michael Brade
152
+ Copyright (c) 2015-2016, 2019 Michael Brade
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " derby-select2" ,
3
3
"description" : " Native DerbyJS replacement for jQuery Select2" ,
4
- "version" : " 0.2.3 " ,
4
+ "version" : " 0.3.0 " ,
5
5
"author" : {
6
6
"name" : " Michael Brade" ,
7
7
"email" : " brade@kde.org"
16
16
"type" : " git" ,
17
17
"url" : " michael-brade/derby-select2"
18
18
},
19
+ "main" : " core.js" ,
20
+ "style" : " index.css" ,
21
+ "files" : [
22
+ " css/" ,
23
+ " data/base.js" ,
24
+ " data/model.js" ,
25
+ " dropdown/search.js" ,
26
+ " dropdown/search.html" ,
27
+ " selection/base.js" ,
28
+ " selection/single.js" ,
29
+ " selection/single.html" ,
30
+ " selection/multiple.js" ,
31
+ " selection/multiple.html" ,
32
+ " selection/multiplereorder.js" ,
33
+ " selection/search.js" ,
34
+ " selection/search.html" ,
35
+ " selection/template.html" ,
36
+ " core.js" ,
37
+ " core.html" ,
38
+ " keys.js" ,
39
+ " results.js" ,
40
+ " results.html" ,
41
+ " index.css"
42
+ ],
19
43
"dependencies" : {
20
44
"sortablejs" : " 1.10.x" ,
21
45
"lodash" : " 4.17.x" ,
67
91
},
68
92
"scripts" : {
69
93
"prebuild" : " npm run clean;touch .create_stash && git stash save --include-untracked \" npm build stash\" ;npm test || { npm run postbuild; exit 1; };" ,
70
- "build": "export DEST=dist;export SOURCES='*.js';export VIEWS='*.html';export ASSETS='.*.scss|./README.md|./package.json';export IGNORE=\"./$DEST|./test|./node_modules\";echo \"\u001b[01;32mCompiling and minifying...\u001b[00m\";find -regextype posix-egrep -regex $IGNORE -prune -o -name \"$SOURCES\" -print0| xargs -n1 -P8 -0 sh -c 'echo $0...;mkdir -p \"$DEST/`dirname $0`\";babel \"$0\" | uglifyjs -cm -o \"$DEST/$0\"';echo \"\u001b[01;32mMinifying views...\u001b[00m\";find -regextype posix-egrep -regex $IGNORE -prune -o -name \"$VIEWS\" -print0| xargs -n1 -P8 -0 sh -c 'echo \"$0 -> $DEST/$0\";mkdir -p \"$DEST/`dirname $0`\";html-minifier --config-file .html-minifierrc -o \"$DEST/$0\" \"$0\"'| column -t -c 3;sass -I node_modules/bootstrap-sass/assets/stylesheets -I css index.scss -s compressed --no-source-map $DEST/index.css;echo \"\u001b[01;32mCopying assets...\u001b[00m\";find -regextype posix-egrep -regex $IGNORE -prune -o -regex $ASSETS -print0| xargs -n1 -0 sh -c 'echo \"$0 -> $DEST/$0\";mkdir -p \"$DEST/`dirname \"$0\"`\";cp -a \"$0\" \"$DEST/$0\"'| column -t -c 3;echo \"\u001b[01;32mDone!\u001b[00m\";",
94
+ "build": "export DEST=dist;export SOURCES='*.js';export VIEWS='*.html';export ASSETS='.*.scss|./README.md|./package.json';export IGNORE=\"./$DEST|./test|./node_modules|./docs\";echo \"\u001b[01;32mCompiling and minifying...\u001b[00m\";find -regextype posix-egrep -regex $IGNORE -prune -o -name \"$SOURCES\" -print0| xargs -n1 -P8 -0 sh -c 'echo $0...;mkdir -p \"$DEST/`dirname $0`\";babel \"$0\" | uglifyjs -cm -o \"$DEST/$0\"';echo \"\u001b[01;32mMinifying views...\u001b[00m\";find -regextype posix-egrep -regex $IGNORE -prune -o -name \"$VIEWS\" -print0| xargs -n1 -P8 -0 sh -c 'echo \"$0 -> $DEST/$0\";mkdir -p \"$DEST/`dirname $0`\";html-minifier --config-file .html-minifierrc -o \"$DEST/$0\" \"$0\"'| column -t -c 3;sass -I node_modules/bootstrap-sass/assets/stylesheets -I css index.scss -s compressed --no-source-map $DEST/index.css;echo \"\u001b[01;32mCopying assets...\u001b[00m\";find -regextype posix-egrep -regex $IGNORE -prune -o -regex $ASSETS -print0| xargs -n1 -0 sh -c 'echo \"$0 -> $DEST/$0\";mkdir -p \"$DEST/`dirname \"$0\"`\";cp -a \"$0\" \"$DEST/$0\"'| column -t -c 3;echo \"\u001b[01;32mDone!\u001b[00m\";",
71
95
"postbuild" : " git stash pop --index && rm .create_stash;" ,
72
96
"clean" : " rm -rf dist;" ,
73
97
"docs" : " npm run build;export DEST=docs;cd dist; browserify -s Select2 core.js -o ../$DEST/select2.js; cd ..;cp dist/index.css $DEST/css/index.css;mkdir -p $DEST/selection $DEST/dropdown;cp -a selection/*.html $DEST/selection;cp -a dropdown/*.html $DEST/dropdown;cp -a core.html results.html $DEST;" ,
74
98
"test" : " echo \" TODO: no tests specified yet\" ;" ,
75
99
"release" : " npm run build; cd dist; npm publish;"
76
100
},
77
101
"engines" : {
78
- "node" : " 6 .x"
102
+ "node" : " 12 .x"
79
103
},
80
104
"license" : " MIT" ,
81
105
"bugs" : {
Original file line number Diff line number Diff line change 2
2
3
3
name: ' derby-select2'
4
4
description: ' Native DerbyJS replacement for jQuery Select2'
5
- version: ' 0.2.3 '
5
+ version: ' 0.3.0 '
6
6
7
7
author:
8
8
name: ' Michael Brade'
@@ -18,6 +18,33 @@ repository:
18
18
type: ' git'
19
19
url: ' michael-brade/derby-select2'
20
20
21
+ main: ' core.js'
22
+
23
+ style: ' index.css'
24
+
25
+ files:
26
+ ' css/'
27
+ ' data/base.js'
28
+ ' data/model.js'
29
+ ' dropdown/search.js'
30
+ ' dropdown/search.html'
31
+ ' selection/base.js'
32
+ ' selection/single.js'
33
+ ' selection/single.html'
34
+ ' selection/multiple.js'
35
+ ' selection/multiple.html'
36
+ ' selection/multiplereorder.js'
37
+ ' selection/search.js'
38
+ ' selection/search.html'
39
+ ' selection/template.html'
40
+ ' core.js'
41
+ ' core.html'
42
+ ' keys.js'
43
+ ' results.js'
44
+ ' results.html'
45
+ ' index.css'
46
+
47
+
21
48
dependencies:
22
49
sortablejs: ' 1.10.x'
23
50
@@ -83,7 +110,7 @@ scripts:
83
110
export SOURCES='*.js';
84
111
export VIEWS='*.html';
85
112
export ASSETS='.*\.scss|./README\.md|./package\.json';
86
- export IGNORE=\" ./$DEST |./test|./node_modules\" ;
113
+ export IGNORE=\" ./$DEST |./test|./node_modules|./docs \" ;
87
114
88
115
echo \" \033[01;32mCompiling and minifying...\033[00m\" ;
89
116
find -regextype posix-egrep -regex $IGNORE -prune -o -name \" $SOURCES \" -print0
@@ -138,7 +165,7 @@ scripts:
138
165
release: " npm run build; cd dist; npm publish;"
139
166
140
167
engines:
141
- node: ' 6 .x'
168
+ node: ' 12 .x'
142
169
143
170
license: ' MIT'
144
171
You can’t perform that action at this time.
0 commit comments