-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
180 lines (180 loc) · 5.47 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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
{
"name": "react-mobx-vm",
"version": "0.2.1",
"description": "View & Model are mixed now via react mobx.",
"scripts": {
"babel": "rimraf packages && babel srcPackages -d packages -D",
"rollup": "rimraf dist && rollup -c --silent",
"postrollup": "babel \"dist/**/!(*.min.js|*.map)\" --plugins=transform-proto-to-assign --no-babelrc -d . && babel \"dist/**/*.min.js\" --plugins=transform-proto-to-assign --minified --no-babelrc -d .",
"watch:babel": "npm run babel -- -w",
"watch:rollup": "npm run rollup -- -w",
"watch": "run-p watch:*",
"prepare": "run-p rollup babel",
"test:all": "npm run prepare && run-p test test:cy:run",
"test": "jest && npm run size",
"test:cy:ci": "npm-run-all --race --parallel \"gojs:open -- -s -i binding.js\" \"cy:run -- --record --key {1}\" --",
"test:cy:run": "run-p --race \"gojs -- -s\" cy:run",
"test:cy:open": "run-p gojs cy:open",
"gojs": "npm run gojs:open -- --noopen",
"gojs:open": "gojs examples -p 8001",
"cy:run": "cypress run",
"cy:open": "cypress open",
"clean-picidae": "rimraf node_modules/picidae/node_modules/{react,react-dom,react-router,history}",
"picidae": "picidae start -c _site/picidae.config.js",
"lint": "eslint ./src --fix",
"precommit": "lint-staged",
"commitmsg": "commitlint -e $GIT_PARAMS",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0 && git add CHANGELOG.md",
"gen-release-note": "node scripts/gen-release-notes.js",
"preversion": "npm run test:all",
"version": "run-p changelog gen-release-note",
"size": "size-limit"
},
"size-limit": [
{
"limit": "20 KB",
"name": "umd",
"path": "dist/react-mobx-vm.umd.js"
},
{
"limit": "20 KB",
"name": "module",
"path": "dist/react-mobx-vm.es.js"
},
{
"limit": "20 KB",
"name": "commonjs",
"path": "dist/react-mobx-vm.js"
}
],
"lint-staged": {
"src/**/*.{js,jsx}": [
"eslint --fix",
"git add"
]
},
"main": "dist/react-mobx-vm.js",
"module": "dist/react-mobx-vm.es.js",
"jsnext:main": "dist/react-mobx-vm.es.js",
"cdn": "dist/react-mobx-vm.umd.min.js",
"unpkg": "dist/react-mobx-vm.umd.min.js",
"jsdelivr": "dist/react-mobx-vm.umd.min.js",
"files": [
"dist",
"packages",
"src",
"srcPackages",
"test",
"examples"
],
"keywords": [
"imcuttle",
"View & Model",
"react-mobx-vm"
],
"author": "imcuttle",
"license": "MIT",
"peerDependencies": {
"mobx": "^3.0.0",
"mobx-react": "^4.0.0",
"react": "*",
"prop-types": "*"
},
"devDependencies": {
"@commitlint/cli": "^6.1.0",
"@commitlint/config-conventional": "^6.1.3",
"@types/jest": "^22.2.3",
"babel-cli": "^6.26.0",
"babel-eslint": "^8.2.1",
"babel-plugin-external-helpers": "^6.22.0",
"babel-plugin-lodash": "^3.3.2",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-decorators-legacy": "^1.3.4",
"babel-plugin-transform-export-extensions": "^6.22.0",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-plugin-transform-proto-to-assign": "^6.26.0",
"babel-plugin-transform-react-jsx": "^6.24.1",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-env": "^1.6.1",
"babel-preset-react": "^6.24.1",
"conventional-changelog-cli": "^1.3.14",
"create-react-class": "^15.6.3",
"cross-env": "^5.1.3",
"cypress": "^1.4.2",
"cz-conventional-changelog": "^2.1.0",
"documentation-fork": "^5.4.0",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"eslint": "^4.17.0",
"eslint-plugin-cypress": "^2.0.1",
"eslint-plugin-react": "^7.6.1",
"go-js": "^1.3.11",
"history": "^3.3.0",
"husky": "^0.14.3",
"jest": "^22.3.0",
"lint-staged": "^7.0.0",
"minimist": "^1.2.0",
"mobx": "^3.5.1",
"mobx-react": "^4.3.5",
"mobx-state-tree": "^1.3.1",
"npm-run-all": "^4.1.2",
"picidae": "^2.1.23",
"picidae-theme-haier": "0.0.8",
"picidae-transformer-exec": "0.0.0",
"picidae-transformer-file-syntax": "^0.1.3",
"picidae-transformer-react-render": "^1.2.11",
"picidae-transformer-toc": "^1.1.4",
"prop-types": "^15.6.0",
"react": "^16.2.0",
"react-dom": "^16.2.0",
"react-router": "^3.2.0",
"remark-github-break": "0.0.0",
"rimraf": "^2.6.2",
"rollup": "^0.56.1",
"rollup-plugin-babel": "^3.0.3",
"rollup-plugin-commonjs": "^8.3.0",
"rollup-plugin-filesize": "^1.5.0",
"rollup-plugin-json": "^2.3.0",
"rollup-plugin-node-resolve": "^3.0.3",
"rollup-plugin-replace": "^2.0.0",
"rollup-plugin-uglify": "^3.0.0",
"sinon": "^4.3.0",
"size-limit": "^0.17.0"
},
"jest": {
"testEnvironment": "jsdom",
"setupTestFrameworkScriptFile": "<rootDir>/test/setup/react.js",
"collectCoverageFrom": [
"src/**/*.js",
"srcPackage/**/*.js"
],
"coverageReporters": [
"json",
"text",
"lcov"
]
},
"dependencies": {
"babel-runtime": "^6.26.0",
"lodash": "^4.17.5",
"qs": "^6.5.1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/be-fe/react-mobx-vm.git"
},
"bugs": {
"url": "https://github.com/be-fe/react-mobx-vm/issues"
},
"homepage": "https://github.com/be-fe/react-mobx-vm#readme",
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
}
}