-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
121 lines (121 loc) · 4.14 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
120
121
{
"name": "@iterable/web-sdk",
"description": "Iterable SDK for JavaScript and Node.",
"version": "1.1.3",
"homepage": "https://iterable.com/",
"repository": {
"type": "git",
"url": "https://github.com/Iterable/iterable-web-sdk.git"
},
"engines": {
"node": ">= 16.3.0"
},
"author": "Iterable",
"license": "MIT",
"private": false,
"sideEffects": false,
"keywords": [
"javascript",
"iterable sdk",
"typescript"
],
"main": "./index.node.js",
"browser": "./index.js",
"types": "./dist/index.d.ts",
"unpkg": "./index.js",
"files": [
"index.js",
"index.d.ts",
"index.node.js",
"dist/*",
"package.json",
"README.md"
],
"dependencies": {
"@pabra/sortby": "^1.0.1",
"@types/ws": "8.5.4",
"axios": "^1.6.2",
"axios-mock-adapter": "^1.22.0",
"buffer": "^6.0.3",
"copy-webpack-plugin": "^11.0.0",
"idb-keyval": "^6.2.0",
"lodash": "^4.17.21",
"qs": "^6.12.3",
"throttle-debounce": "^3.0.1",
"uuid": "^9.0.0",
"yup": "^0.32.9"
},
"scripts": {
"start": "concurrently \"ttsc -w\" \"babel src --watch --out-dir ./dist --extensions '.ts,.tsx'\" \"webpack-dev-server --config webpack.dev.config.js\" -n 'tsc,babel,webpack' -k",
"install:all": "yarn && cd example && yarn && cd ../react-example && yarn",
"start:all": "concurrently \"yarn start\" \"cd example && yarn start\" -n 'module,website' -k",
"start:all:react": "concurrently \"yarn start\" \"cd react-example && yarn start\" -n 'module,website' -k",
"build": "ttsc && babel src --out-dir ./dist --extensions '.ts,.tsx' && webpack",
"build:node": "yarn build --config webpack.node.config.js",
"test": "jest --config jest.config.js --collectCoverage",
"format": "prettier --write \"src/**/*.{ts,tsx}\" \"src/**/*.{js}\" \"example/src/**/*.{ts,tsx}\" \"example/src/**/*.{js}\" \"react-example/src/**/*.{ts,tsx}\" \"react-example/src/**/*.{js}\" --no-error-on-unmatched-pattern",
"lint": "eslint src --ignore-pattern '*.test.*' --ignore-pattern '*.spec.*' --ext '.ts,.tsx'",
"typecheck": "ttsc --noEmit true --emitDeclarationOnly false",
"check-deps": "madge --extensions js,ts --circular dist",
"prepublishOnly": "yarn lint && yarn typecheck && yarn format && yarn build && yarn build:node",
"clean": "find . -name \"node_modules\" -exec rm -rf '{}' +"
},
"devDependencies": {
"@babel/cli": "^7.5.5",
"@babel/core": "^7.5.5",
"@babel/plugin-proposal-class-properties": "^7.5.5",
"@babel/plugin-proposal-object-rest-spread": "^7.5.5",
"@babel/plugin-proposal-optional-chaining": "^7.14.5",
"@babel/plugin-transform-modules-umd": "^7.14.5",
"@babel/plugin-transform-nullish-coalescing-operator": "^7.23.4",
"@babel/plugin-transform-runtime": "^7.22.15",
"@babel/preset-env": "^7.5.5",
"@babel/preset-typescript": "^7.6.0",
"@types/jest": "^27.0.2",
"@types/node": "^12.7.1",
"@types/throttle-debounce": "^2.1.0",
"@types/uuid": "^9.0.2",
"@typescript-eslint/eslint-plugin": "^5.38.1",
"@typescript-eslint/parser": "^5.38.1",
"@webpack-cli/serve": "^1.6.0",
"babel-loader": "^9.1.3",
"babel-plugin-module-resolver": "^5.0.0",
"concurrently": "^6.3.0",
"css-loader": "^6.8.1",
"dotenv": "^10.0.0",
"eslint": "^8.2.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-prettier": "^3.4.0",
"fake-indexeddb": "^4.0.0",
"file-loader": "^6.2.0",
"husky": "^3.1.0",
"jest": "^27.3.1",
"lint-staged": "^11.2.6",
"madge": "^5.0.1",
"mini-css-extract-plugin": "^2.7.6",
"prettier": "^2.2.1",
"style-loader": "^3.3.3",
"ts-jest": "^27.0.7",
"ttypescript": "^1.5.15",
"typescript": "^4.9.5",
"typescript-transform-paths": "^3.4.6",
"webpack": "^5.63.0",
"webpack-cli": "^4.9.1",
"webpack-dev-server": "^4.7.3"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && yarn typecheck",
"pre-push": "yarn test --changedSince main"
}
},
"lint-staged": {
"*.{ts,tsx,js}": [
"eslint --fix",
"prettier --write",
"eslint"
]
}
}