-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
106 lines (106 loc) · 2.72 KB
/
Copy pathpackage.json
File metadata and controls
106 lines (106 loc) · 2.72 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
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
{
"name": "react-context-i18n",
"version": "0.4.0-alpha.3",
"description": "Translate your React APP with with use of new Context API ^^",
"main": "./dist/index.js",
"module": "./lib/index.js",
"types": "./lib/index.d.ts",
"files": [
"dist/",
"lib/",
"LICENSE",
"README.md"
],
"author": "bumpah",
"license": "MIT",
"peerDependencies": {
"react": "^16.6.0"
},
"keywords": [
"gettext",
"i18n",
"internationalization",
"react",
"context",
"react context api",
"react native",
"reactjs",
"translation"
],
"repository": {
"type": "git",
"url": "https://github.com/bumpah/react-context-i18n"
},
"bugs": {
"url": "https://github.com/bumpah/react-context-i18n/issues"
},
"scripts": {
"test": "yarn jest --coverage",
"test:watch": "yarn jest --watch",
"clean": "yarn clean:es && yarn clean:cjs",
"clean:es": "rm -rf ./lib",
"clean:cjs": "rm -rf ./dist",
"lint": "tslint --project tsconfig.json",
"build": "yarn build:es && yarn build:cjs",
"build:es": "yarn tsc --outDir ./lib",
"build:cjs": "yarn tsc -m commonjs --outDir ./dist",
"watch": "yarn tsc --watch --pretty",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook",
"coveralls": "cat ./coverage/lcov.info | node node_modules/.bin/coveralls",
"pub": "yarn clean && yarn lint && yarn test && yarn build"
},
"resolution": {
"babel-core": "^7.0.0-bridge.0"
},
"devDependencies": {
"@babel/core": "^7.6.4",
"@babel/plugin-proposal-class-properties": "^7.5.5",
"@babel/plugin-transform-react-jsx": "^7.12.17",
"@babel/preset-env": "^7.6.3",
"@babel/preset-react": "^7.6.3",
"@babel/preset-typescript": "^7.6.0",
"@types/jest": "^26.0.20",
"@types/node": "^14.14.28",
"@types/react": "^17.0.2",
"@types/react-dom": "^17.0.1",
"@types/react-test-renderer": "^17.0.1",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "26.6.3",
"babel-loader": "^8.0.6",
"coveralls": "^3.0.7",
"jest": "26.6.3",
"react-test-renderer": "17.0.1",
"tslib": "^2.1.0",
"tslint": "^6.1.3",
"tslint-react": "^5.0.0",
"typescript": "^4.1.5"
},
"dependencies": {
"react": "17.0.1",
"react-dom": "17.0.1"
},
"jest": {
"verbose": true,
"collectCoverage": true,
"transform": {
"(\\.tsx?$|\\.jsx?$)": "babel-jest"
},
"transformIgnorePatterns": [
"/node_modules/"
],
"moduleFileExtensions": [
"js",
"ts",
"tsx"
],
"modulePaths": [
"<rootDir>/node_modules",
"<rootDir>/src"
],
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.tsx?$",
"collectCoverageFrom": [
"src/*.tsx"
]
}
}