Page MenuHomeSealhub

index.js
No OneTemporary

index.js

var Generator = require("yeoman-generator");
module.exports = class extends Generator {
addReact() {
this.npmInstall(
["react", "react-dom", "@types/react", "@types/react-dom"],
{ save: true }
);
// this.fs.extendJSON(this.destinationPath("package.json"), {
// scripts: { build: "tsc" }
// });
}
};

File Metadata

Mime Type
text/plain
Expires
Fri, Nov 22, 11:04 (3 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
547691
Default Alt Text
index.js (322 B)

Event Timeline