Skip to content

Commit 26902c6

Browse files
committed
Update scripts
1 parent 7f84204 commit 26902c6

File tree

2 files changed

+49
-3
lines changed

2 files changed

+49
-3
lines changed

src/ProjectTemplates/Web.ProjectTemplates/package-lock.json

Lines changed: 29 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/ProjectTemplates/Web.ProjectTemplates/package.json

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,32 @@
1111
"copy-bootstrap-razor-pages": "npm run copy-dependency -- ./node_modules/bootstrap/dist/ .content/RazorPagesWeb-CSharp/wwwroot/lib/bootstrap",
1212
"copy-bootstrap-starter-web": "npm run copy-bootstrap-starter-web-csharp && npm run copy-bootstrap-starter-web-fsharp",
1313
"copy-bootstrap-starter-web-csharp": "npm run copy-dependency -- ./node_modules/bootstrap/dist/ ./content/StarterWeb-CSharp/wwwroot/lib/bootstrap",
14-
"copy-bootstrap-starter-web-fsharp": "npm run copy-dependency -- ./node_modules/bootstrap/dist/ ./content/StarterWeb-FSharp/wwwroot/lib/bootstrap"
14+
"copy-bootstrap-starter-web-fsharp": "npm run copy-dependency -- ./node_modules/bootstrap/dist/ ./content/StarterWeb-FSharp/wwwroot/lib/bootstrap",
15+
"copy-jquery": "npm run copy-jquery-razor-pages && npm run copy-jquery-starter-web",
16+
"copy-jquery-razor-pages": "npm run copy-dependency -- ./node_modules/jquery/dist/ .content/RazorPagesWeb-CSharp/wwwroot/lib/jquery",
17+
"copy-jquery-starter-web": "npm run copy-jquery-starter-web-csharp && npm run copy-jquery-starter-web-fsharp",
18+
"copy-jquery-starter-web-csharp": "npm run copy-dependency -- ./node_modules/jquery/dist/ ./content/StarterWeb-CSharp/wwwroot/lib/jquery",
19+
"copy-jquery-starter-web-fsharp": "npm run copy-dependency -- ./node_modules/jquery/dist/ ./content/StarterWeb-FSharp/wwwroot/lib/jquery",
20+
"copy-jquery-validation": "npm run copy-jquery-validation-razor-pages && npm run copy-jquery-validation-starter-web",
21+
"copy-jquery-validation-razor-pages": "npm run copy-dependency -- ./node_modules/jquery-validation/dist/ .content/RazorPagesWeb-CSharp/wwwroot/lib/jquery-validation",
22+
"copy-jquery-validation-starter-web": "npm run copy-jquery-validation-starter-web-csharp && npm run copy-jquery-validation-starter-web-fsharp",
23+
"copy-jquery-validation-starter-web-csharp": "npm run copy-dependency -- ./node_modules/jquery-validation/dist/ ./content/StarterWeb-CSharp/wwwroot/lib/jquery-validation",
24+
"copy-jquery-validation-starter-web-fsharp": "npm run copy-dependency -- ./node_modules/jquery-validation/dist/ ./content/StarterWeb-FSharp/wwwroot/lib/jquery-validation",
25+
"copy-jquery-validation-unobtrusive": "npm run copy-jquery-validation-unobtrusive-razor-pages && npm run copy-jquery-validation-unobtrusive-starter-web",
26+
"copy-jquery-validation-unobtrusive-razor-pages": "npm run copy-dependency -- ./node_modules/jquery-validation-unobtrusive/dist/ .content/RazorPagesWeb-CSharp/wwwroot/lib/jquery-validation-unobtrusive",
27+
"copy-jquery-validation-unobtrusive-starter-web": "npm run copy-jquery-validation-unobtrusive-starter-web-csharp && npm run copy-jquery-validation-unobtrusive-starter-web-fsharp",
28+
"copy-jquery-validation-unobtrusive-starter-web-csharp": "npm run copy-dependency -- ./node_modules/jquery-validation-unobtrusive/dist/ ./content/StarterWeb-CSharp/wwwroot/lib/jquery-validation-unobtrusive",
29+
"copy-jquery-validation-unobtrusive-starter-web-fsharp": "npm run copy-dependency -- ./node_modules/jquery-validation-unobtrusive/dist/ ./content/StarterWeb-FSharp/wwwroot/lib/jquery-validation-unobtrusive"
1530
},
1631
"repository": {
1732
"type": "git",
1833
"url": "git+https://github.com/dotnet/aspnetcore.git"
1934
},
2035
"homepage": "https://github.com/dotnet/aspnetcore#readme",
2136
"dependencies": {
22-
"bootstrap": "^5.3.3"
37+
"bootstrap": "^5.3.3",
38+
"jquery": "3.7",
39+
"jquery-validation": "^1.21.0",
40+
"jquery-validation-unobtrusive": "^4.0.0"
2341
}
2442
}

0 commit comments

Comments
 (0)