forked from segmentio/analytics-react-native
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
65 lines (65 loc) · 1.92 KB
/
package.json
File metadata and controls
65 lines (65 loc) · 1.92 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
65
{
"name": "@segment/analytics-react-native",
"version": "0.0.1-beta.3",
"description": "The hassle-free way to add analytics to your React-Native app.",
"license": "MIT",
"main": "build/cjs/index.js",
"module": "build/esm/index.js",
"types": "build/esm/index.d.ts",
"files": [
"android",
"ios",
"build",
"src",
"RNAnalytics.podspec"
],
"scripts": {
"build:clean": "rimraf build",
"build:ts": "run-p build:ts:*",
"build:ts:cjs": "tsc --target es5 --outDir build/cjs --module commonjs",
"build:ts:esm": "tsc --target es5 --outDir build/esm --module esnext",
"build:pkg": "ts-node -T src/make-pkg.ts > build/package.json",
"build": "run-s build:{clean,ts,pkg}",
"docs:clean": "rimraf docs",
"docs:gen": "typedoc --out docs --module esnext --ignoreCompilerErrors --excludePrivate --excludeExternals --theme markdown --mode file --entrypoint Analytics --gitRevision master",
"docs": "run-s docs:{clean,gen}",
"lint": "tslint -p .",
"test": "jest",
"deploy": "./deploy.sh",
"release": "standard-version --infile ../../CHANGELOG.md"
},
"devDependencies": {
"@types/jest": "^23.3.1",
"babel-core": "^6.26.3",
"babel-jest": "^23.4.2",
"jest": "^23.4.2",
"jest-mock-console": "^0.4.0",
"standard-version": "^4.4.0",
"ts-jest": "^23.1.3",
"ts-node": "^7.0.1",
"tslint": "^5.11.0",
"tslint-config-prettier": "^1.14.0",
"tslint-plugin-prettier": "^2.0.0",
"typedoc": "^0.12.0",
"typedoc-plugin-markdown": "^1.1.13",
"typescript": "^3.0.1"
},
"jest": {
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(tsx?)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
],
"rootDir": "src",
"collectCoverage": true,
"coverageDirectory": "../build/coverage",
"testEnvironment": "node"
}
}