-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
96 lines (96 loc) · 2.52 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
{
"name": "@restart/context",
"version": "2.1.4",
"main": "lib/index.js",
"module": "lib/es/index.js",
"types": "index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/react-restart/context"
},
"author": "4Catalyzer",
"license": "MIT",
"scripts": {
"tdd": "jest --watch",
"test": "npm run test:types && npm run lint && jest",
"testonly": "jest",
"test:types": "tslint -p types",
"build:es": "babel src -d lib/es --env-name esm --ignore **/__tests__ ",
"build:lib": "babel src -d lib --ignore **/__tests__ --delete-dir-on-start ",
"build": "npm run build:lib && npm run build:es && cpy types/*.d.ts lib && cpy types/*.d.ts lib/es",
"prepublishOnly": "yarn run build",
"lint": "eslint . && prettier --list-different --ignore-path .eslintignore '**/*.{json,css,md}'",
"format": "eslint . --fix && prettier --write --ignore-path .eslintignore '**/*.{json,css,md}'"
},
"publishConfig": {
"access": "public"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"eslint --fix",
"git add"
],
"*.{json,css,md}": [
"prettier --write --ignore-path .eslintignore",
"git add"
]
},
"prettier": {
"printWidth": 79,
"singleQuote": true,
"trailingComma": "all"
},
"jest": {
"roots": [
"<rootDir>/test"
],
"setupFiles": [
"<rootDir>/test/index.js"
]
},
"release": {
"extends": [
"@4c/semantic-release-config"
],
"pkgRoot": "lib"
},
"devDependencies": {
"@4c/babel-preset": "^5.1.0",
"@4c/semantic-release-config": "^1.0.5",
"@babel/cli": "^7.2.3",
"@babel/core": "^7.4.0",
"@types/react": "^16.8.10",
"babel-core": "bridge",
"babel-eslint": "^10.0.1",
"babel-jest": "^24.5.0",
"codecov": "^3.7.1",
"cpy-cli": "^2.0.0",
"dtslint": "^0.5.9",
"enzyme": "^3.9.0",
"enzyme-adapter-react-16": "^1.11.2",
"eslint": "^5.15.3",
"eslint-config-4catalyzer-react": "^0.9.3",
"eslint-config-prettier": "^4.1.0",
"eslint-plugin-import": "^2.16.0",
"eslint-plugin-jest": "^22.4.1",
"eslint-plugin-jsx-a11y": "^6.2.1",
"eslint-plugin-prettier": "^3.0.1",
"eslint-plugin-react": "^7.12.4",
"husky": "^1.3.1",
"jest": "^24.5.0",
"lint-staged": "^8.1.5",
"prettier": "^1.16.4",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"semantic-release": "^15.13.3",
"travis-deploy-once": "^5.0.11"
},
"peerDependencies": {
"react": ">=16.3.2"
}
}