-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
85 lines (85 loc) · 2.38 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
{
"name": "maker-enhance",
"version": "2.0.0",
"description": "React component for Maker Enhance",
"keywords": [
"react",
"react-component",
"maker",
"embed"
],
"main": "lib/MakerEnhance.js",
"types": "lib/MakerEnhance.d.ts",
"files": [
"lib",
"src"
],
"author": "Pavel Linkesch",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/makerinc/maker-enhance.git"
},
"peerDependencies": {
"react": ">=16.8",
"react-dom": ">=16.8"
},
"devDependencies": {
"@babel/cli": "^7.24.6",
"@babel/core": "^7.24.6",
"@babel/preset-env": "^7.24.6",
"@babel/preset-react": "^7.24.6",
"@babel/preset-typescript": "^7.24.6",
"@types/jest": "^29.5.12",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@typescript-eslint/eslint-plugin": "^7.10.0",
"@typescript-eslint/parser": "^7.10.0",
"babel-jest": "^29.7.0",
"eslint": "^9.3.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-react": "^7.34.1",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"prettier": "^3.2.5",
"react": "^18",
"react-dom": "^18",
"react-test-renderer": "^18",
"regenerator-runtime": "^0.13.1",
"ts-jest": "^29.1.3",
"typescript": "^5.4.5",
"typescript-eslint": "^7.10.0"
},
"scripts": {
"prettier:fix": "prettier --write src",
"eslint": "eslint src",
"eslint:fix": "eslint --fix src",
"lint": "yarn eslint",
"lint:fix": "yarn prettier:fix && yarn eslint:fix",
"babel": "babel src --out-dir lib --extensions '.ts,.tsx,.js,.jsx'",
"build:types": "tsc --emitDeclarationOnly",
"test": "jest --coverage",
"test:watch": "jest --watch",
"build": "yarn run lint:fix && yarn test && yarn run babel && yarn build:types",
"prepublish": "yarn run build",
"preversion": "yarn run build",
"postversion": "yarn tag add $npm_package_name@$npm_package_version latest && git push --tags && yarn publish . --tag $npm_package_version && git push && echo \"Successfully released version $npm_package_version!\""
},
"jest": {
"testEnvironment": "jsdom",
"preset": "ts-jest",
"transform": {
"^.+\\.tsx?$": "ts-jest",
"^.+\\.js$": "babel-jest"
},
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
]
}
}