From 5667013c02d72ff47ee87b424c5a545b54892533 Mon Sep 17 00:00:00 2001 From: didietsuryadi Date: Thu, 23 Mar 2017 01:42:42 +0700 Subject: [PATCH] runner-scss-include-to-package-json --- .gitignore | 2 ++ .../extra.scssc | Bin 0 -> 3276 bytes .../extra.scssc | Bin 0 -> 3252 bytes package.json | 23 ++++++++++++++++++ src/css/extra.css | 8 ++++++ src/css/extra.css.map | 7 ++++++ src/css/site.css | 3 +++ src/css/theme.css | 4 +++ src/js/reverse.js | 12 +++++++++ src/js/saytext.js | 5 ++++ .../extra.scssc | Bin 0 -> 3261 bytes src/sass/extra.css | 8 ++++++ src/sass/extra.css.map | 7 ++++++ src/sass/extra.scss | 11 +++++++++ 14 files changed, 90 insertions(+) create mode 100644 .gitignore create mode 100644 .sass-cache/75f6ae69f785cc74680d6eb17552c5618657559a/extra.scssc create mode 100644 .sass-cache/d4dba1790abccf70236e2db98a318174e537cb16/extra.scssc create mode 100644 package.json create mode 100644 src/css/extra.css create mode 100644 src/css/extra.css.map create mode 100644 src/css/site.css create mode 100644 src/css/theme.css create mode 100644 src/js/reverse.js create mode 100644 src/js/saytext.js create mode 100644 src/sass/.sass-cache/d4dba1790abccf70236e2db98a318174e537cb16/extra.scssc create mode 100644 src/sass/extra.css create mode 100644 src/sass/extra.css.map create mode 100644 src/sass/extra.scss diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9daa824 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +.DS_Store +node_modules diff --git a/.sass-cache/75f6ae69f785cc74680d6eb17552c5618657559a/extra.scssc b/.sass-cache/75f6ae69f785cc74680d6eb17552c5618657559a/extra.scssc new file mode 100644 index 0000000000000000000000000000000000000000..e9be8049d1d42acba4dbf498b9cc014cc87ba1a0 GIT binary patch literal 3276 zcmbtW-EI>{6i%ed_O25f41_?S7$|JMqtJbeup>|HDc z+DmnZzT|O|J9@!Y@`5K!(op+?45lnf)M-_q_G)<}YoR(hqv4EwB=$ysMQE5v9*r&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(mjEU=+iR87$N;+rah*+n)4{>T>OtWkJ*|gVpb^d5@&aEQdDD_g^^8Xb}Ja literal 0 HcmV?d00001 diff --git a/.sass-cache/d4dba1790abccf70236e2db98a318174e537cb16/extra.scssc b/.sass-cache/d4dba1790abccf70236e2db98a318174e537cb16/extra.scssc new file mode 100644 index 0000000000000000000000000000000000000000..0a3535a823445168da5a989cf85c355d4ab9aa31 GIT binary patch literal 3252 zcmbVO-EP}96i$G_w&cWa-6Tz$c6FU>>#!x3)1*nsU2y$3P!z>n^kM-fP!er(lSPe` z(*{Ma_5|Bg>>2hbdzu|mKek*480sriJm>K6`_B0e?;ji;9QNAx1}tQL!p~WIkg#+1 zt$pl2@cg5bo^$9Q2M-^5UXKR!2GPR?mKWuKV6)n5@BB$7uX z3pe_m#tRmnvxNJ!f-Rj+auGAsGI3*}1llQ^ycUY(j3qv zlF`upEZ=RSpgde%BknsYBVY#*sSQ|Cfpo@HjX$nDg9^}h)JCKw@H+4(aMQ5ZR5Vii zib+1yx!^1KDsDOW8fj?s@TS097QQZKfZfG6=T_h09n!+L$Thr6TACFWQ%Msck?o7g zgkBP43*RKS=Uw%Iz|Uw(WxxUlSQ~}HqoIQtl)8etrn>g}owZ#LRN?s8pqj#2U4XL+^#@2~aOzbVldm28O%A{^-x&a9Uk$*5 z?o3lTY3LG#|7Vqc$MQsQVd}3%fHVa?s<)teIvFxX_kc?DSW`KG)@6~;YQWQkO*|&m zS*4J!R3x==Zdb+k_5SW+umN;a$a1TCYISST>S?N2mS%C5Y14?IimA^Ws0s`3Y86pa z?^jT0^Vi6P68LTfccAhY5U&8nl>%|Svhj|CZ{@*E%q;E>6tfn7A>EQ9%{PQqilXy(0Jgs@|7X>ItXwiCOpy|neDEaR%;L;`3N>bfVby3#vX2OF92r4l^O+L zdezD=s5@SuyX7uQ$6P+a>YBaz!KDYq7MVr?6pt^Ut&DJGHf}oHv|G{6%YdmZ&j(#MRl1~V$S)<2wfqKX zJDs{qTrzRUcpz@>qAx7)4_O6)*yj2MUw<^XFVVh7GevY~9ve`!Wu31B&&?uLy($Zn zmNP&LKfzBkc$P(&!BdX#ES)JtlulSLZuY!1bFy4WTH}t$35e^$lanXn3~dD{{EWPNIJ}NXw&=t2UHnhp#T5? literal 0 HcmV?d00001 diff --git a/package.json b/package.json new file mode 100644 index 0000000..7243c31 --- /dev/null +++ b/package.json @@ -0,0 +1,23 @@ +{ + "name": "npm-runner-1", + "version": "1.0.0", + "description": "", + "main": "index.js", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1", + "scss": "sass src/sass/extra.scss src/css/extra.css" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/didietsuryadi/npm-runner-1.git" + }, + "author": "", + "license": "ISC", + "bugs": { + "url": "https://github.com/didietsuryadi/npm-runner-1/issues" + }, + "homepage": "https://github.com/didietsuryadi/npm-runner-1#readme", + "devDependencies": { + "sass": "^0.5.0" + } +} diff --git a/src/css/extra.css b/src/css/extra.css new file mode 100644 index 0000000..d2e743b --- /dev/null +++ b/src/css/extra.css @@ -0,0 +1,8 @@ +body { + font: 100% Helvetica, sans-serif; + color: #bada55; } + +h1 { + background-color: #bada55; } + +/*# sourceMappingURL=extra.css.map */ diff --git a/src/css/extra.css.map b/src/css/extra.css.map new file mode 100644 index 0000000..9a0a644 --- /dev/null +++ b/src/css/extra.css.map @@ -0,0 +1,7 @@ +{ +"version": 3, +"mappings": "AAGA,IAAK;EACH,IAAI,EAAE,0BAAgB;EACtB,KAAK,EAJS,OAAO;;AAOvB,EAAG;EACD,gBAAgB,EARF,OAAO", +"sources": ["../sass/extra.scss"], +"names": [], +"file": "extra.css" +} diff --git a/src/css/site.css b/src/css/site.css new file mode 100644 index 0000000..19de77b --- /dev/null +++ b/src/css/site.css @@ -0,0 +1,3 @@ +body { + background-color: red +} diff --git a/src/css/theme.css b/src/css/theme.css new file mode 100644 index 0000000..f40601d --- /dev/null +++ b/src/css/theme.css @@ -0,0 +1,4 @@ +h1 { + background-color: blue +} + diff --git a/src/js/reverse.js b/src/js/reverse.js new file mode 100644 index 0000000..f4d2d53 --- /dev/null +++ b/src/js/reverse.js @@ -0,0 +1,12 @@ +function reverse(s) { + var output = ''; + for (var i = s.length - 1; i >= 0; i--) + output += s[i]; + return output; +} + +function reverseSayText(text) { + console.log(reverse(text)); +} + +reverseSayText("Reverse"); diff --git a/src/js/saytext.js b/src/js/saytext.js new file mode 100644 index 0000000..07bed7c --- /dev/null +++ b/src/js/saytext.js @@ -0,0 +1,5 @@ +function sayText(text) { + console.log(text); +} + +sayText("I'm alive!"); diff --git a/src/sass/.sass-cache/d4dba1790abccf70236e2db98a318174e537cb16/extra.scssc b/src/sass/.sass-cache/d4dba1790abccf70236e2db98a318174e537cb16/extra.scssc new file mode 100644 index 0000000000000000000000000000000000000000..e687c74a4449bbaadc3d1714aa29f4c9b2dfe09b GIT binary patch literal 3261 zcmbtW-EP}96i$Faw&cX_+%`>{c6FU>>#(Jk)1*nsU2y$d4HQK&7rj`336wIK0fx<2rg(UG&Ue1^9p1lpc<-R!xjSSL3sQc@I>VHm zv9Fw?;DH|;9{1gY;3$0f(D(Z^q{j#S(SgrK4+7Ue7@eFP2FK1Pb%CxAsZt2NmW(0v zgAnOU5wZqql3>E4P_p>c7UP{v?fqzwY{;mQG=Y(XvRJ=d!xT1G)yIr z$2M*by3OY-I%6phsD*7EPI{g&)Z!sr#7CS-)FmNHBnxQDLXXFAL*lVtXB=(-8y9U7 zk)&M2>irrVk9f?uh1x`knGBdGX*`BFw)1e!M?g@2wNZ-z5;FA?p#<8gn!FNS^03fwZ~Y$+P6 zeZ?dn>7ei>{3&j`_%dl~81Yqsw`_b(%#pi;Z!E07#yg~qZ<5P+m$Y?xSVARDg+xvu zrc-)>lP!FM+*&-UFN8vkXHipdu){;~jI)!8`!)w3Fa zB>|dcy3*97h5x74plkagJU2va6DXR3X4PB3o^Fne5kM#Pw{YE5LTkL?2@to@z#DKNYtm)a&Pn=mrr~#RlXG;H z#2`4P=e$|WLF}Qn*5{_M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