jq is useful to slice, filter, map and transform structured json data.
brew install jq
| import cpx from 'cpx'; | |
| import { log } from 'console'; | |
| // Copy the SLDS resources to the assets dir | |
| cpx.copy('../../node_modules/@salesforce-ux/design-system/assets/**/*', 'src/assets', () => { | |
| log(`Done copying SLDS resources`); | |
| }); |
| { | |
| "version": "2.0.0", | |
| "tasks": [ | |
| { | |
| "label": "SFDX: Run Security Scan on Current File", | |
| "type": "shell", | |
| "command": "sfdx", | |
| "args": [ | |
| "scanner:run", | |
| "-t", |
| #!/usr/bin/env node | |
| // | |
| // streaming.js | |
| // | |
| // Stream data from Tesla's streaming API to either a flat file or a MongoDB database | |
| // | |
| var request = require("request"); | |
| var teslams = require("../teslams.js"); | |
| var fs = require("fs"); | |
| var util = require("util"); |
| #chart text { | |
| fill: white; | |
| font: 10px Helvetica; | |
| text-anchor: end; | |
| } | |
| line { | |
| /*stroke: black;*/ | |
| } | |
| line:first-child.notify, | |
| line:first-child.precheck, |