-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
119 lines (119 loc) · 3.33 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
113
114
115
116
117
118
119
{
"name": "@enterprise-oss/osso",
"license": "SEE LICENSE IN LICENSE",
"version": "0.1.3",
"description": "React components for Osso",
"main": "umd/osso.js",
"module": "dist/index.esm.js",
"types": "dist/index.d.ts",
"author": "sbauch",
"scripts": {
"build": "rollup -c",
"clean": "rm -rf dist && rm -rf umd",
"lint": "eslint ./src",
"format": "tsc && eslint ./src --fix",
"start": "rollup -c --watch",
"test": "jest"
},
"devDependencies": {
"@babel/core": "^7.12.8",
"@babel/preset-env": "^7.12.7",
"@babel/preset-react": "^7.12.7",
"@babel/preset-typescript": "^7.12.7",
"@rollup/plugin-alias": "^3.1.1",
"@rollup/plugin-babel": "^5.2.1",
"@rollup/plugin-url": "^5.0.1",
"@testing-library/react": "^11.2.2",
"@testing-library/react-hooks": "^5.0.0",
"@types/downloadjs": "^1.4.2",
"@types/faker": "^5.1.4",
"@types/jest": "^26.0.15",
"@types/node": "^14.14.9",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"@typescript-eslint/eslint-plugin": "^4.8.2",
"@typescript-eslint/parser": "^4.8.2",
"babel-jest": "^26.6.3",
"babel-plugin-root-import": "^6.6.0",
"eslint": "^7.14.0",
"eslint-config-prettier": "^8.0.0",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-react": "^7.21.5",
"eslint-plugin-simple-import-sort": "^7.0.0",
"faker": "^5.1.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^26.6.3",
"jest-fetch-mock": "^3.0.3",
"jest-raw-loader": "^1.0.1",
"jest-transform-graphql": "^2.1.0",
"js-base64": "^3.6.0",
"nodemon": "^2.0.6",
"prettier": "^2.2.0",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-test-renderer": "^17.0.1",
"rollup": "^2.33.3",
"rollup-plugin-base64": "^1.0.1",
"rollup-plugin-graphql": "^0.1.0",
"rollup-plugin-root-import": "^1.0.0",
"rollup-plugin-svg": "^2.0.0",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.30.0",
"ts-jest": "^26.4.4",
"tslib": "^2.0.3",
"typescript": "^4.1.2",
"yalc-watch": "^0.0.6"
},
"dependencies": {
"@apollo/client": "^3.2.7",
"@pdf-lib/fontkit": "^1.1.0",
"apollo-link-context": "^1.0.20",
"base64-arraybuffer": "^0.2.0",
"downloadjs": "^1.4.7",
"fast-xml-parser": "^3.17.6",
"graphql": "^15.4.0",
"graphql-tag": "^2.11.0",
"pdf-lib": "^1.12.0"
},
"peerDependencies": {
"react": "^16.13.1"
},
"jest": {
"preset": "ts-jest",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx"
],
"moduleNameMapper": {
"\\.(png|svg)$": "<rootDir>/__mocks__/fileMock.js",
"\\.(css|less)$": "identity-obj-proxy",
"^~/(.*)$": "<rootDir>/src/$1"
},
"setupFiles": [
"<rootDir>/jest.setup.js"
],
"testPathIgnorePatterns": [
"<rootDir>/examples/*"
],
"transform": {
"\\.js$": "babel-jest",
"\\.(gql|graphql)$": "jest-transform-graphql",
"\\.(html|xml|txt|pdf)$": "<rootDir>/__mocks__/stringTransform.js",
"\\.(ttf)$": "<rootDir>/__mocks__/base64Transform.js"
}
},
"yalcWatch": {
"watchFolder": "dist",
"buildWatchCommand": "tsc && rollup -c rollup-dev.config.js --watch",
"extensions": "js,png,svg,gif,jpeg,css,map"
},
"files": [
"dist/**",
"umd/osso.js"
],
"engines": {
"node": ">= 14.4.0"
}
}