Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F969685
index.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
322 B
Referenced Files
None
Subscribers
None
index.js
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 23, 10:23 (1 d, 8 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
547691
Default Alt Text
index.js (322 B)
Attached To
Mode
rGEN Sealcode generator
Attached
Detach File
Event Timeline
Log In to Comment