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
Sat, Nov 23, 09:51 (1 d, 3 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
547691
Default Alt Text
index.js (322 B)

Event Timeline