forked from api-platform/create-client
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
56 lines (56 loc) · 1.92 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
{
"name": "@api-platform/client-generator",
"version": "0.1.15",
"description": "Generate a CRUD application built with React, Redux and React Router from an Hydra-enabled API",
"files": [
"*.md",
"docs/*.md",
"lib",
"src",
"templates"
],
"main": "lib/index",
"repository": "api-platform/client-generator",
"homepage": "https://github.com/api-platform/client-generator",
"bugs": "https://github.com/api-platform/client-generator/issues",
"author": "Kévin Dunglas",
"license": "MIT",
"devDependencies": {
"babel-cli": "^6.24.0",
"babel-core": "^6.24.0",
"babel-eslint": "^7.2.0",
"babel-jest": "^19.0.0",
"babel-plugin-transform-flow-strip-types": "^6.22.0",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-es2015": "^6.24.0",
"babel-preset-stage-0": "^6.22.0",
"eslint": "^3.18.0",
"eslint-plugin-import": "^2.2.0",
"jest": "^19.0.2",
"tmp": "^0.0.31"
},
"dependencies": {
"@api-platform/api-doc-parser": "^0.2",
"babel-runtime": "^6.23.0",
"chalk": "^2.1.0",
"commander": "^2.9.0",
"handlebars": "^4.0.6",
"isomorphic-fetch": "^2.2.1",
"mkdirp": "^0.5.1",
"sprintf-js": "^1.1.1"
},
"scripts": {
"test": "jest",
"lint": "eslint src",
"build": "babel src -d lib --ignore '*.test.js'",
"watch": "babel --watch src -d lib --ignore '*.test.js'",
"test-gen": "rm -rf ./tmp && npm run build && ./lib/index.js https://demo.api-platform.com ./tmp/react && ./lib/index.js https://demo.api-platform.com ./tmp/react-native -g react-native && ./lib/index.js https://demo.api-platform.com ./tmp/vue -g vue",
"test-gen-env": "rm -rf ./tmp && npm run build && API_PLATFORM_CLIENT_GENERATOR_ENTRYPOINT=https://demo.api-platform.com API_PLATFORM_CLIENT_GENERATOR_OUTPUT=./tmp ./lib/index.js"
},
"bin": {
"generate-api-platform-client": "./lib/index.js"
},
"publishConfig": {
"access": "public"
}
}