-
Notifications
You must be signed in to change notification settings - Fork 145
/
package.json
14 lines (14 loc) · 1.15 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{
"scripts": {
"watch": "echo Compiling styles/*.scss and copying to ~/Projects/torq-native... for style development & nodemon --watch styles/src/ -e js,scss -x yarn build-styles-all",
"": "sass --watch styles/src:styles/lib",
"build-styles-all": "yarn build-styles-Macos && yarn build-styles-Win10",
"build-styles-default": "INPUT=Macos OUTPUT='' yarn _build-styles",
"build-styles-Macos": "INPUT=Macos OUTPUT=Macos yarn _build-styles",
"build-styles-Win10": "INPUT=Win10 OUTPUT=Win10 yarn _build-styles",
"_build-styles": "mkdir -p styles/lib && (echo '// This file was generated by package.json > scripts > build-styles' ; cat styles/src/${INPUT}Header.scss ; cat styles/src/Spectrum.scss ; cat styles/src/${INPUT}Footer.scss) > styles/lib/Spectrum${OUTPUT}.scss && sass styles/lib/Spectrum${OUTPUT}.scss styles/lib/Spectrum${OUTPUT}.css && (cat styles/src/copyright.js ; echo 'module.exports = `' ; cat styles/lib/Spectrum${OUTPUT}.css ; echo '`;') > ~/Projects/torq-native/modules/bindings/domjs/src/js/dom/cssom/engine/SpectrumStyle${OUTPUT}.js"
},
"dependencies": {
"sass": "^1.22.5"
}
}