This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"compileOnSave": false, | |
"compilerOptions": { | |
"baseUrl": "./", | |
"outDir": "./dist", | |
"sourceMap": true, | |
"declaration": true, | |
"moduleResolution": "node", | |
"emitDecoratorMetadata": true, | |
"experimentalDecorators": true, |
# generate new schematics project
schematics blank --name=[schematics Name]
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { readFile, writeFileSync } from 'fs'; | |
(async () => { | |
const nxJson: { [id: string]: object } = JSON.parse( | |
await new Promise((r, j) => | |
readFile('./nx.json', 'utf-8', (e, data) => (e ? j(e) : r(data))) | |
) | |
); | |
const angularJson: { [id: string]: object } = JSON.parse( | |
await new Promise((r, j) => |
こんにちは、 JavaScript Robotics Advent Calendar 2016 13日目の記事です。
趣味でWebGPIO/I2Cのpolyfillを実装し、実際にいろいろな人々に使ってもらいフィードバックを受けての感想と今後についてつらつらと書きたいと思います。
/** IPアドレス */
export interface IIPAddress {
/** 第1オクテット */
octet1: number,
/** 第2オクテット */
octet2: number,
# rxjs ver 5 install
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
global.MockDB = global.MockDB || new Map(); | |
/** | |
* @example setting ovserve function | |
* global.MockOvserve.observe('ovserver_name', function(updateJson){ | |
* stateCtrl.setJsonData(updateJson); | |
* }); | |
* | |
* @example nofify method (parameter single only) |