mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 17:31:56 +03:00
33 lines
1.1 KiB
JSON
33 lines
1.1 KiB
JSON
{
|
|
"name": "scaffolder",
|
|
"version": "1.0.0",
|
|
"description": "A service to generate Hasura action scaffolds",
|
|
"main": "src/server.js",
|
|
"scripts": {
|
|
"get-shared-modules": "rm -rf src/shared && cp ../console/src/shared ./src/shared -r",
|
|
"pretranspile": "npm run get-shared-modules",
|
|
"transpile": "rm -rf build/* && babel ./src ./tests --out-dir build",
|
|
"prebuild": "npm run transpile",
|
|
"build": "rm -rf ./bin/* && pkg ./build/command.js --output ./bin/cli-ext-hasura -t node12-linux-x64,node12-macos-x64,node12-win-x64",
|
|
"pretest": "npm run transpile && babel ./tests --out-dir _tmptests",
|
|
"posttest": "rm -rf _tmptests",
|
|
"test": "node ./_tmptests/index.js"
|
|
},
|
|
"author": "wawhal",
|
|
"license": "ISC",
|
|
"dependencies": {
|
|
"@graphql-codegen/core": "^1.9.0",
|
|
"@graphql-codegen/typescript": "^1.9.0",
|
|
"graphql": "^14.5.8",
|
|
"inflection": "^1.12.0",
|
|
"node-fetch": "^2.6.0",
|
|
"regenerator-runtime": "^0.13.3"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/cli": "^7.0.0",
|
|
"@babel/core": "^7.0.0",
|
|
"@babel/plugin-transform-async-to-generator": "^7.7.4",
|
|
"@babel/preset-env": "^7.7.6"
|
|
}
|
|
}
|