forked from jonkoops/matomo-tracker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
64 lines (63 loc) · 1.93 KB
/
package.json
File metadata and controls
64 lines (63 loc) · 1.93 KB
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
{
"private": true,
"name": "matomo-assembl",
"version": "0.2.1",
"description": "Matomo tracker",
"license": "MPL-2.0",
"author": "Datapunt Amsterdam",
"scripts": {
"build": "yarn build:ts && yarn build:ts:es",
"build:ts": "tsc -b packages/js packages/react",
"build:ts:es": "tsc -b packages/js/tsconfig.es.json packages/react/tsconfig.es.json",
"clean:generated": "find ./packages -name \"*.d.ts\" -type f -delete && find ./packages -name \"*.tsbuildinfo\" -type f -delete",
"start": "yarn build -w",
"lint": "eslint .",
"test": "jest",
"prettier": "prettier --write ./packages/**/**/*.{ts,tsx}",
"prepublishOnly": "yarn build",
"post": "mkdir matomo-tracker-js && cp -R ./packages/js/lib matomo-tracker-js && mkdir matomo-tracker-react && cp -R ./packages/react/lib matomo-tracker-react"
},
"workspaces": [
"packages/*"
],
"devDependencies": {
"@testing-library/react": "^11.0.2",
"@types/jest": "^26.0.12",
"@types/react": "^16.9.49",
"@typescript-eslint/eslint-plugin": "^4.0.1",
"@typescript-eslint/parser": "^4.0.1",
"eslint": "^7.8.0",
"eslint-config-airbnb-typescript": "^11.0.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-jest": "^24.0.0",
"eslint-plugin-jsx-a11y": "^6.3.1",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-react": "^7.20.6",
"eslint-plugin-react-hooks": "^4.1.0",
"husky": "^4.2.5",
"jest": "^26.4.2",
"jest-cli": "^26.4.2",
"lerna": "^3.22.1",
"lint-staged": "^10.2.13",
"prettier": "^2.1.1",
"react": "16.14.0",
"react-dom": "^16.13.1",
"ts-jest": "^26.3.0",
"tslib": "^2.0.1",
"typescript": "^4.0.2"
},
"husky": {
"hooks": {
"pre-push": "yarn test --bail",
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts,tsx}": [
"prettier --write",
"eslint",
"git add"
]
}
}