-
-
Notifications
You must be signed in to change notification settings - Fork 159
/
package.json
112 lines (112 loc) · 2.72 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
{
"private": true,
"version": "1.1.0",
"name": "perfect-freehand-repo",
"author": {
"name": "Steve Ruiz",
"url": "https://twitter.com/steveruizok"
},
"repository": "https://github.com/steveruizok/perfect-freehand",
"keywords": [
"ink",
"draw",
"paint",
"signature",
"handwriting",
"text",
"drawing",
"painting"
],
"license": "MIT",
"workspaces": [
"packages/*"
],
"scripts": {
"test": "jest",
"lerna": "lerna",
"start": "lerna run start --stream --parallel",
"build": "yarn build:packages && cd packages/dev && yarn build",
"build:packages": "node build.mjs && cd packages/perfect-freehand && yarn build",
"publish:patch": "yarn build:packages && lerna publish patch",
"postinstall": "husky install"
},
"devDependencies": {
"@babel/core": "^7.15.0",
"@babel/plugin-syntax-import-meta": "^7.10.4",
"@babel/preset-env": "^7.15.0",
"@babel/preset-react": "^7.14.5",
"@babel/preset-typescript": "^7.15.0",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^12.0.0",
"@types/jest": "^27.0.1",
"@types/node": "^15.0.1",
"@typescript-eslint/eslint-plugin": "^4.19.0",
"@typescript-eslint/parser": "^4.19.0",
"babel-jest": "^27.1.0",
"eslint": "^7.32.0",
"fake-indexeddb": "^3.1.3",
"jest": "^27.1.0",
"lerna": "^3.15.0",
"ts-jest": "^27.0.5",
"tslib": "^2.3.0",
"typedoc": "^0.21.9",
"typescript": "^4.4.2"
},
"dependencies": {},
"prettier": {
"trailingComma": "es5",
"singleQuote": true,
"semi": false,
"printWidth": 80
},
"jest": {
"preset": "ts-jest",
"setupFilesAfterEnv": [
"<rootDir>/setupTests.ts"
],
"transform": {
"^.+\\.(tsx|jsx|ts|js)?$": "ts-jest"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
],
"globals": {
"ts-jest": {
"tsconfig": "tsconfig.json",
"babelConfig": {
"presets": [
[
"@babel/preset-env",
{
"targets": {
"esmodules": true
}
}
],
[
"@babel/preset-react"
],
"@babel/preset-typescript"
],
"plugins": [
"@babel/plugin-syntax-import-meta"
]
}
}
},
"testEnvironment": "jsdom",
"modulePathIgnorePatterns": [
"<rootDir>/packages/perfect-freehand/build/",
"<rootDir>/packages/dev/build/"
],
"moduleNameMapper": {
"perfect-freehand": "<rootDir>/packages/perfect-freehand/src"
}
}
}