-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
60 lines (60 loc) · 1.6 KB
/
package.json
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
50
51
52
53
54
55
56
57
58
59
60
{
"name": "@zach.codes/use-upload",
"version": "1.0.1",
"description": "",
"main": "cjs/index.js",
"module": "lib/index.js",
"scripts": {
"test": "jest",
"build": "npx babel src --out-dir lib --extensions \".ts,.tsx\" && npx babel --plugins @babel/plugin-transform-modules-commonjs src --out-dir cjs --extensions \".ts,.tsx\" && npm run create-types",
"create-types": "tsc --emitDeclarationOnly && tsc --emitDeclarationOnly --outDir cjs",
"watch": "npx babel --watch src --out-dir lib"
},
"author": "",
"license": "ISC",
"devDependencies": {
"@babel/cli": "^7.13.0",
"@babel/core": "^7.13.10",
"@babel/plugin-transform-modules-commonjs": "^7.13.8",
"@babel/preset-env": "^7.13.10",
"@babel/preset-react": "^7.12.13",
"@babel/preset-typescript": "^7.13.0",
"@testing-library/react": "^11.2.5",
"@testing-library/svelte": "^3.0.3",
"@testing-library/user-event": "^12.8.3",
"@types/jest": "^26.0.20",
"@types/react": "^17.0.2",
"babel-jest": "^26.6.3",
"jest": "^26.6.3",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"svelte": "^3.35.0",
"svelte-jester": "^1.3.0",
"svelte-preprocess": "^4.6.9",
"typescript": "^4.2.3"
},
"dependencies": {},
"jest": {
"setupFiles": [
"./tests/setup.js"
],
"collectCoverageFrom": [
"./src/**/*.ts"
],
"transform": {
"^.+\\.svelte$": [
"svelte-jester",
{
"preprocess": true
}
],
"^.+\\.tsx?$": "babel-jest"
},
"moduleFileExtensions": [
"js",
"ts",
"tsx",
"svelte"
]
}
}