-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
35 lines (35 loc) · 1.69 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
{
"name": "@deepcase/materialized-path",
"version": "0.0.5",
"license": "ISC",
"author": "Ivan S Glazunov <[email protected]>",
"homepage": "https://github.com/deepcase/materialized-path",
"repository": {
"type": "git",
"url": "ssh://[email protected]/deepcase/materialized-path.git"
},
"pre-commit": [
"build"
],
"description": "",
"dependencies": {
"@deepcase/hasura": "^0.0.8",
"@types/jest": "^26.0.22",
"@types/node": "^14.0.23",
"@types/react": "^17.0.2",
"chance": "^1.1.7",
"ts-jest": "^26.5.4",
"typescript": "^3.9.7"
},
"scripts": {
"package:build": "npx tsc --project tsconfig.json && (cd ./migrations && rm -f ./*.js; rm -f ./*.js.map; rm -f ./*.d.ts)",
"package:unbuild": "rm -f ./*.js; rm -f ./*.js.map; rm -f ./*.d.ts && (cd ./migrations && rm -f ./*.js; rm -f ./*.js.map; rm -f ./*.d.ts)",
"package:publish": "npm run package:build; npm publish --access public; npm run package:unbuild",
"test": "export HASURA_PATH=localhost:8080; export HASURA_SSL=0; export HASURA_SECRET=myadminsecretkey; DEBUG='deepcase:*' npx jest",
"migrate": "export MIGRATIONS_HASURA_PATH=localhost:8080; export MIGRATIONS_HASURA_SSL=0; export MIGRATIONS_HASURA_SECRET=myadminsecretkey; export $(grep -v '^#' .env | xargs); yes | DEBUG='deepcase:*' npx migrate up --compiler='ts:@deepcase/hasura/compiler/index.js'",
"unmigrate": "export MIGRATIONS_HASURA_PATH=localhost:8080; export MIGRATIONS_HASURA_SSL=0; export MIGRATIONS_HASURA_SECRET=myadminsecretkey; export $(grep -v '^#' .env | xargs); yes | DEBUG='deepcase:*' npx migrate down --compiler='ts:@deepcase/hasura/compiler/index.js'"
},
"devDependencies": {
"pre-commit": "^1.2.2"
}
}