-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
71 lines (71 loc) · 1.81 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
{
"name": "ts-boilerplate",
"version": "1.0.0",
"main": "dist/index.js",
"module": "dist/index.mjs",
"unpkg": "dist/index.min.js",
"license": "MIT",
"scripts": {
"start": "jest --watchAll --bail",
"dev": "jest --watch -c config/jest-dev.config.js",
"test": "jest --coverage --bail",
"lint": "eslint . --fix --quiet --format codeframe --ext .ts,.tsx",
"typecheck": "tsc",
"format": "prettier --write '**/*'",
"gentypes": "tsc -p config/tsconfig.gentypes.json",
"prebuild": "rm -rf dist && yarn gentypes",
"build": "babel src -d dist -x .ts,.tsx --ignore '**/{*.d.ts,test/**}'",
"postbuild": "prettier --write 'dist/**/*'"
},
"devDependencies": {
"@babel/cli": "^7.2.3",
"@babel/core": "^7.2.2",
"@babel/preset-env": "^7.2.3",
"@babel/preset-react": "^7.0.0",
"@babel/preset-typescript": "^7.1.0",
"@types/jest": "^23.3.12",
"@types/node": "^10.12.18",
"@types/react": "^16.7.18",
"@types/react-dom": "^16.0.11",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^23.6.0",
"babel-plugin-add-module-exports": "^1.0.0",
"eslint": "^5.12.0",
"eslint-config-tunnckocore": "^2.0.0-rc.12",
"jest": "^23.6.0",
"jest-runner-tsc": "^1.3.2",
"prettier": "^1.15.3",
"typescript": "^3.2.2"
},
"jest": {
"projects": [
"./config/jest-check.config.js",
"./config/jest-dev.config.js"
]
},
"browserslist": [
"node 8",
"node 10",
"not dead",
">= 1%",
"last 2 Opera versions"
],
"babel": {
"presets": [
[
"@babel/preset-env",
{
"useBuiltIns": "usage"
}
],
"@babel/preset-react",
"@babel/preset-typescript"
]
},
"eslintConfig": {
"extends": "tunnckocore",
"rules": {
"react/react-in-jsx-scope": "off"
}
}
}