Install dependencies and launch webpack process:
npm install
npm start
Finally, launch your editor of choice and edit index.js, index.scss, and index.html.
| <script type="customer-template" include-category="NINO" exclude-category="ZAPATO"> | |
| <style> | |
| #ninos-msg { | |
| text-align: center; | |
| } | |
| </style> | |
| <div>NINOS menos ZAPATOS</div> | |
| </script> | |
| <div id="customer-template"> </div> |
| const express = require('express'); | |
| const passport = require('passport'); | |
| const app = express(); | |
| const cookieParser = require('cookie-parser'); | |
| const bodyParser = require('body-parser'); | |
| const session = require('express-session'); | |
| const LocalStrategy = require('passport-local').Strategy; | |
| passport.serializeUser((user, done) => { console.log('serialize'); done(null, user); } ); | |
| passport.deserializeUser((user, done) => { console.log('deserialize'); done(null, user); }); |
| module.exports = { | |
| "env": { | |
| "es6": true, | |
| "node": true | |
| }, | |
| "extends": "eslint:recommended", | |
| "parserOptions": { | |
| "sourceType": "module" | |
| }, | |
| "rules": { |
| [ | |
| { "keys": ["alt+t"], "command": "extractor_command"} | |
| ] |
| const config = require('./config'); | |
| console.log(config); |
| class Dict | |
| constructor: (@g, @dict) -> | |
| @missings = [] | |
| resolve: (content, showErrors=true, json=false, englishFallback=true) -> | |
| fail = false | |
| RE = if json then /"\{([^}^\s]+)\}"/g else /\{([^}^\s]+)\}/g | |
| content = content.replace RE, (m, n) => | |
| replacement = @t n, showErrors, true, englishFallback | |
| fail or= not replacement? |
| # ====================================================================== | |
| # | |
| # @link http://wuhrr.wordpress.com/2010/01/13/adding-confirmation-to-bash/#comment-3540 | |
| # | |
| # Function: confirm | |
| # Asks the user to confirm an action, If the user does not answer "This won't shutdown the Internet!" the script will immediately exit. | |
| # | |
| # Parameters: | |
| # $@ - The confirmation message | |
| # |
| { | |
| "filter_execute": { | |
| "\\.coffee$": { | |
| "cmd": "webpack-versioner.sh $file $file_path/versions.manifest.json", | |
| "shell": true | |
| } | |
| }, | |
| "build_on_save": 1 | |
| } |
| import re | |
| from base_linter import BaseLinter | |
| CONFIG = { | |
| 'language': 'SCSS', | |
| 'executable': 'scss-lint.sh', | |
| 'lint_args': '{filename}' | |
| } |