forked from stuburger/yafl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
86 lines (86 loc) · 2.05 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
{
"name": "react-yafl",
"version": "1.0.0",
"description": "A library for creating forms in react using react's new context api",
"main": "lib/react-yafl.js",
"module": "lib/react-yafl.es6.js",
"typings": "lib/index.d.ts",
"files": [
"lib"
],
"scripts": {
"prebuild": "rimraf lib",
"build": "tsc -p tsconfig.base.json && rollup -c && rimraf compiled",
"watch": "tsc --watch",
"test": "jest",
"precommit": "lint-staged"
},
"lint-staged": {
"*.{ts,tsx}": [
"prettier --parser typescript --write",
"git add"
]
},
"author": "Stuart Bourhill",
"license": "MIT",
"dependencies": {
"@types/prop-types": "^15.5.3",
"lodash": "^4.6.0",
"object-path-immutable": "^1.0.2",
"prop-types": "^15.6.1",
"why-did-you-update": "^0.1.1"
},
"keywords": [
"react",
"form",
"context"
],
"peerDependencies": {
"react": ">=16.3.2"
},
"devDependencies": {
"@types/jest": "^22.2.3",
"@types/lodash": "^4.6.3",
"@types/node": "10.1.2",
"@types/react": "^16.3.14",
"@types/react-dom": "^16.0.5",
"husky": "^0.14.3",
"jest": "^22.4.4",
"lint-staged": "^7.1.2",
"npm-run-all": "^4.1.3",
"prettier": "^1.12.1",
"react": "^16.3.2",
"react-dom": "^16.3.2",
"rimraf": "^2.6.2",
"rollup": "^0.59.2",
"rollup-plugin-commonjs": "^9.1.3",
"rollup-plugin-filesize": "^1.5.0",
"rollup-plugin-node-resolve": "^3.3.0",
"rollup-plugin-replace": "^2.0.0",
"rollup-plugin-sourcemaps": "^0.4.2",
"rollup-plugin-typescript2": "^0.14.0",
"rollup-plugin-uglify": "^4.0.0",
"ts-jest": "^22.4.6",
"typescript": "^2.8.3",
"uglify-es": "^3.3.9"
},
"jest": {
"collectCoverage": true,
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"collectCoverageFrom": [
"src/**/*.{ts,tsx}",
"!src/**/index.{ts,tsx}"
],
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
]
}
}