forked from segmentio/analytics-react-native
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
76 lines (76 loc) · 2.11 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
{
"name": "@internal/analytics-react-native",
"main": "index.js",
"license": "MIT",
"private": true,
"workspaces": {
"packages": [
"packages/*"
],
"nohoist": [
"**/react-native",
"**/react-native/**"
]
},
"scripts": {
"core": "yarn workspace @segment/analytics-react-native",
"integrations": "yarn workspace @local/integrations",
"test-app": "yarn workspace @local/test-app",
"build:core": "yarn core build",
"build:integrations": "yarn integrations build",
"build:test-app": "yarn test-app build",
"build": "run-s build:{core,integrations,test-app}",
"test:core": "yarn core test",
"test": "run-p test:*",
"lint:prettier": "prettier $(git ls-files '**/*.ts' '**/*.js' '**/*.json' '**/*.md') --list-different",
"lint:core": "yarn core lint",
"lint": "run-s lint:*",
"deploy": "run-s 'core deploy' 'integrations deploy'",
"docs:core": "yarn core docs",
"docs": "run-s docs:*",
"cz": "git-cz",
"precommit": "lint-staged",
"commitmsg": "commitlint -E GIT_PARAMS",
"lint-staged:ts": "run-p docs:core && git add packages/core/docs",
"lint-staged:integrations": "yarn integrations generate:readme && git add README.md"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"lint-staged": {
"packages/*/src/**/*.ts": [
"prettier --write",
"yarn lint-staged:ts"
],
"packages/integrations/integrations.yml": [
"yarn lint-staged:integrations"
],
"*.{js,json,md}": [
"prettier --write",
"git add"
]
},
"devDependencies": {
"@babel/core": "^7.4.0",
"@commitlint/cli": "^7.0.0",
"@commitlint/config-conventional": "^7.0.1",
"codecov": "^3.0.4",
"commitizen": "^2.10.1",
"commitlint-circle": "^1.0.0",
"cz-conventional-changelog": "^2.1.0",
"husky": "^0.14.3",
"lint-staged": "^7.2.0",
"npm-run-all": "^4.1.3",
"prettier": "^1.14.2",
"react": "16.8.3",
"react-native": "0.59.2",
"rimraf": "^2.6.2"
}
}