mirror of
https://github.com/kou029w/jest-hands-on.git
synced 2025-01-31 22:08:00 +00:00
add package.json
This commit is contained in:
parent
68f6c784ed
commit
dbd66be560
6 changed files with 84 additions and 0 deletions
14
templates/basic/package.json
Normal file
14
templates/basic/package.json
Normal file
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
"name": "basic",
|
||||
"version": "1.0.0",
|
||||
"private": true,
|
||||
"main": "main.js",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"test": "jest"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/preset-env": "^7.16.11",
|
||||
"jest": "^27.5.1"
|
||||
}
|
||||
}
|
14
templates/callback/package.json
Normal file
14
templates/callback/package.json
Normal file
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
"name": "callback",
|
||||
"version": "1.0.0",
|
||||
"private": true,
|
||||
"main": "main.js",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"test": "jest"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/preset-env": "^7.16.11",
|
||||
"jest": "^27.5.1"
|
||||
}
|
||||
}
|
14
templates/mock/package.json
Normal file
14
templates/mock/package.json
Normal file
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
"name": "mock",
|
||||
"version": "1.0.0",
|
||||
"private": true,
|
||||
"main": "main.js",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"test": "jest"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/preset-env": "^7.16.11",
|
||||
"jest": "^27.5.1"
|
||||
}
|
||||
}
|
14
templates/promise/package.json
Normal file
14
templates/promise/package.json
Normal file
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
"name": "promise",
|
||||
"version": "1.0.0",
|
||||
"private": true,
|
||||
"main": "main.js",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"test": "jest"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/preset-env": "^7.16.11",
|
||||
"jest": "^27.5.1"
|
||||
}
|
||||
}
|
14
templates/scope/package.json
Normal file
14
templates/scope/package.json
Normal file
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
"name": "scope",
|
||||
"version": "1.0.0",
|
||||
"private": true,
|
||||
"main": "main.js",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"test": "jest"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/preset-env": "^7.16.11",
|
||||
"jest": "^27.5.1"
|
||||
}
|
||||
}
|
14
templates/setup-teardown/package.json
Normal file
14
templates/setup-teardown/package.json
Normal file
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
"name": "setup-teardown",
|
||||
"version": "1.0.0",
|
||||
"private": true,
|
||||
"main": "main.js",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"test": "jest"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/preset-env": "^7.16.11",
|
||||
"jest": "^27.5.1"
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue