-
Notifications
You must be signed in to change notification settings - Fork 34
Expand file tree
/
Copy pathpackage.json
More file actions
49 lines (49 loc) · 1.04 KB
/
package.json
File metadata and controls
49 lines (49 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
{
"name": "timer",
"version": "1.0.0",
"description": "",
"scripts": {
"dev": "parcel index.html",
"build": "parcel build index.html --no-source-maps --public-url ./",
"format": "prettier --write \"**/*.js\"",
"test": "jest"
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"@babel/preset-env": "^7.26.9",
"babel-jest": "^29.7.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"parcel": "^2.14.4",
"prettier": "^3.5.3",
"svgo": "^3.3.2"
},
"jest": {
"testEnvironment": "jsdom",
"transform": {
"^.+\\.js$": [
"babel-jest",
{
"presets": [
"@babel/preset-env"
]
}
]
},
"moduleNameMapper": {
"^.+\\.(wav|mp3)$": "<rootDir>/asset/javascript/__mocks__/fileMock.js"
},
"setupFiles": [
"<rootDir>/asset/javascript/__mocks__/audioMock.js"
]
},
"targets": {
"default": {
"distDir": "./dist",
"optimize": true,
"scopeHoist": true
}
}
}