-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
111 lines (111 loc) · 2.96 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
{
"name": "@gotitinc/giap_javascript",
"version": "0.2.0",
"main": "dist/index.cjs.js",
"module": "dist/index.es.js",
"files": [
"dist"
],
"publishConfig": {
"access": "public"
},
"author": "Got It, Inc.",
"homepage": "https://github.com/tutoruniverse/giap_javascript#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/tutoruniverse/giap_javascript.git"
},
"description": "Javscript SDK for your app to communicate with Got It Analytics Platform",
"license": "MIT",
"directories": {
"lib": "lib"
},
"bugs": {
"url": "https://github.com/tutoruniverse/giap_javascript/issues"
},
"scripts": {
"start": "vite build --watch",
"build": "vite build",
"test": "jest",
"test:watch": "jest --watch",
"test:cov": "npm run test -- --watchAll=false --coverage",
"start-demo": "vite serve demo",
"build-demo": "vite build demo",
"prettier": "prettier demo/src src --check",
"prettier:fix": "npm run prettier demo/src src -- --write",
"prepublish": "npm run build",
"publish:alpha": "npm run build && npm publish --tag alpha",
"publish:latest": "npm run build && npm publish"
},
"devDependencies": {
"@swc/core": "^1.2.162",
"@swc/jest": "^0.2.20",
"@types/jest": "25.1.2",
"@vitejs/plugin-react": "^1.3.0",
"babel-eslint": "10.0.1",
"eslint": "5.12.0",
"eslint-config-airbnb": "17.1.0",
"eslint-config-prettier": "^8.5.0",
"eslint-config-react-app": "3.0.6",
"eslint-plugin-flowtype": "3.2.0",
"eslint-plugin-import": "2.14.0",
"eslint-plugin-jsx-a11y": "6.1.2",
"eslint-plugin-react": "7.12.3",
"jest": "27.5.1",
"jest-fetch-mock": "2.1.2",
"jest-watch-typeahead": "1.0.0",
"prettier": "^2.6.1",
"react": "17.0.2",
"react-dom": "17.0.2",
"react-router-dom": "5.3.0",
"vite": "^2.9.1"
},
"dependencies": {
"uuidv4": "6.0.2"
},
"jest": {
"collectCoverageFrom": [
"src/**/*.{js,jsx,mjs}"
],
"setupFiles": [
"<rootDir>/config/setupJest.js"
],
"testMatch": [
"<rootDir>/src/**/?(*.)(spec|test).{js,jsx,mjs}",
"<rootDir>/tests/**/?(*.)(spec|test).{js,jsx,mjs}"
],
"testEnvironment": "jsdom",
"testURL": "http://localhost",
"transform": {
"^.+\\.(js|jsx|mjs)$": "@swc/jest",
"^.+\\.css$": "<rootDir>/config/jest/cssTransform.js",
"^(?!.*\\.(js|jsx|mjs|css|json)$)": "<rootDir>/config/jest/fileTransform.js"
},
"transformIgnorePatterns": [
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx|mjs)$"
],
"moduleNameMapper": {
"^react-native$": "react-native-web"
},
"moduleFileExtensions": [
"web.js",
"mjs",
"js",
"json",
"web.jsx",
"jsx",
"node"
],
"moduleDirectories": [
"node_modules",
"<rootDir>/src"
],
"modulePaths": [
"src"
],
"watchPlugins": [
"jest-watch-typeahead/filename",
"jest-watch-typeahead/testname"
]
}
}