forked from foxhound87/mobx-react-form
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
executable file
·117 lines (117 loc) · 3.76 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
{
"name": "mobx-react-form",
"license": "MIT",
"version": "0.0.0-development",
"author": "Claudio Savino <[email protected]> (https://twitter.com/foxhound87)",
"description": "Automagically manage React forms state and automatic validation with MobX.",
"homepage": "https://www.npmjs.com/package/mobx-react-form",
"main": "lib/index.js",
"scripts": {
"clean:build": "rimraf lib && rimraf umd",
"clean:modules": "rimraf node_modules && npm cache clean",
"clean:all": "npm run clean:build && npm run clean:modules",
"lint": "eslint . --ext .jsx,.js --ignore-path .gitignore",
"build": "npm-run-all --parallel build:*",
"build:main": "babel -d lib/ src/",
"build:umd": "webpack",
"build:umdmin": "MINIFY=YES webpack -p",
"prebuild": "npm run clean:build",
"precommit": "npm run lint && npm run cover",
"commit": "git-cz && git push origin",
"watch:build": "babel --watch -d lib/ src/",
"watch:test": "npm run test -- -w",
"switch:mobx": "replace \"from 'mobx5'\" \"from 'mobx'\" src -r",
"switch:mobx5": "replace \"from 'mobx4'\" \"from 'mobx5'\" src -r",
"switch:mobx4": "replace \"from 'mobx3'\" \"from 'mobx4'\" src -r",
"switch:mobx3": "replace \"from 'mobx'\" \"from 'mobx3'\" src -r",
"test:mobx5": "npm run switch:mobx5 && cross-env TEST=true mocha tests --compilers js:babel-register",
"test:mobx4": "npm run switch:mobx4 && cross-env TEST=true mocha tests --compilers js:babel-register",
"test:mobx3": "npm run switch:mobx3 && cross-env TEST=true mocha tests --compilers js:babel-register",
"test": "npm run test:mobx3 && npm run test:mobx4 && npm run test:mobx5 && npm run switch:mobx",
"cover": "nyc npm test",
"coverage:check": "nyc check-coverage --satements 95 --branches 80 --functions 95 --lines 95",
"coverage:report": "nyc report --reporter=text-lcov > coverage.lcov && codecov",
"semantic-release": "semantic-release"
},
"repository": {
"type": "git",
"url": "https://github.com/foxhound87/mobx-react-form.git"
},
"collective": {
"type": "opencollective",
"url": "https://opencollective.com/mobx-react-form"
},
"keywords": [
"form",
"mobx",
"state",
"events",
"nested",
"fields",
"bindings",
"react",
"reactive",
"validation",
"validator",
"json",
"schema",
"declarative",
"rules"
],
"files": [
"src",
"lib",
"umd"
],
"engines": {
"node": ">=8.0.0"
},
"config": {
"commitizen": {
"path": "node_modules/cz-conventional-changelog"
}
},
"dependencies": {
"lodash": "^4.17.11"
},
"peerDependencies": {
"mobx": "^2.5.0 || ^3.0.0 || ^4.0.0 || ^5.0.0"
},
"devDependencies": {
"ajv": "^5.2.2",
"babel-cli": "6.26.0",
"babel-core": "6.23.1",
"babel-eslint": "8.0.2",
"babel-loader": "7.1.4",
"babel-plugin-add-module-exports": "0.2.1",
"babel-plugin-transform-class-properties": "6.23.0",
"babel-plugin-transform-decorators-legacy": "1.3.4",
"babel-preset-env": "1.7.0",
"babel-preset-stage-0": "6.22.0",
"babel-register": "6.26.0",
"chai": "3.5.0",
"codecov": "1.0.1",
"commitizen": "2.9.6",
"cross-env": "^5.1.4",
"cz-conventional-changelog": "^2.0.0",
"eslint": "4.11.0",
"eslint-config-airbnb-base": "12.1.0",
"eslint-plugin-import": "2.8.0",
"husky": "0.13.1",
"json-loader": "0.5.4",
"lodash-webpack-plugin": "^0.11.5",
"mobx3": "npm:mobx@^3.0.0",
"mobx4": "npm:mobx@^4.0.0",
"mobx5": "npm:mobx@^5.0.0",
"mocha": "3.2.0",
"npm-run-all": "4.0.1",
"nyc": "^10.2.0",
"replace": "^0.3.0",
"rimraf": "2.5.4",
"semantic-release": "^15.13.3",
"validator": "^8.0.0",
"validatorjs": "^3.15.1",
"webpack": "3",
"yup": "^0.26.7"
}
}