9
9
"scripts" : {
10
10
"validate" : " npx tsx src/scripts/validate.js" ,
11
11
"migrate" : " npx tsx src/scripts/migrate.js" ,
12
- "start" : " npx tsx src/app.js" ,
13
- "dev" : " npx tsx watch src/app.js" ,
12
+ "start" : " NODE_ENV=production USE_ENV_FILE=.env.prod npx tsx src/app.js" ,
13
+ "dev" : " USE_ENV_FILE=.env.dev npx tsx watch src/app.js" ,
14
+ "local" : " NODE_ENV=development USE_ENV_FILE=.env.local npx tsx watch src/app.js" ,
14
15
"format" : " prettier --write \" src/**/*.{js,mjs,ts,mts,json,md}\" " ,
15
16
"format:check" : " prettier --check \" src/**/*.{js,mjs,ts,mts,json,md}\" " ,
16
17
"lint" : " eslint \" src/**/*.{js,ts,mjs,mts}\" --fix" ,
23
24
"deploy:local" : " sh ./scripts/deploy_factory.sh --env=local" ,
24
25
"deploy:testnet" : " sh ./scripts/deploy_factory.sh --env=dev" ,
25
26
"deploy:mainnet" : " sh ./scripts/deploy_factory.sh --env=prod" ,
26
- "sync:local" : " sh ./scripts/sync.sh --env= local" ,
27
- "sync:testnet" : " sh ./scripts/sync.sh --env= dev" ,
28
- "sync:mainnet" : " sh ./scripts/sync.sh --env= prod" ,
27
+ "sync:local" : " sh ./scripts/sync.sh local" ,
28
+ "sync:testnet" : " sh ./scripts/sync.sh dev" ,
29
+ "sync:mainnet" : " sh ./scripts/sync.sh prod" ,
29
30
"accept-transfer" : " sh ./scripts/acceptTransfer.sh" ,
30
31
"setup" : " sh setup.sh" ,
31
32
"deseed" : " npx tsx src/db/scripts/deseed.js" ,
32
- "test" : " cd chain && forge test --summary && cd .." ,
33
- "test- js" : " jest --testPathPattern src/tests/unit " ,
33
+ "test:chain " : " cd chain && forge test --summary && cd .." ,
34
+ "test: js" : " jest --testPathPattern src/tests" ,
34
35
"test-js-integration" : " jest --testPathPattern src/tests/integration"
35
36
},
36
37
"dependencies" : {
46
47
"exceljs" : " ^4.4.0" ,
47
48
"express" : " ^4.21.2" ,
48
49
"joi" : " ^17.13.1" ,
49
- "lodash" : " ^4.17.21" ,
50
50
"mongoose" : " ^7.4.2" ,
51
51
"npx" : " ^10.2.2" ,
52
52
"rxjs" : " ^7.8.1" ,
53
53
"solc" : " ^0.8.20" ,
54
54
"tsx" : " ^4.7.0" ,
55
55
"xstate" : " ^4.38.2" ,
56
- "yauzl" : " ^3.2 .0"
56
+ "yauzl" : " ^2.10 .0"
57
57
},
58
58
"browserslist" : [
59
59
" defaults" ,
71
71
"chalk" : " 4" ,
72
72
"eslint" : " ^8.56.0" ,
73
73
"eslint-config-prettier" : " ^9.1.0" ,
74
+ "eslint-import-resolver-node" : " ^0.3.9" ,
74
75
"eslint-plugin-import" : " ^2.31.0" ,
75
76
"globals" : " ^15.8.0" ,
76
77
"husky" : " ^9.1.6" ,
78
+ "inquirer" : " ^12.5.0" ,
77
79
"jest" : " ^29.7.0" ,
78
80
"lint-staged" : " ^13.0.3" ,
79
81
"prettier" : " ^2.7.1" ,
80
82
"solhint" : " ^3.4.1" ,
81
- "ts-jest" : " ^29.2.6 " ,
83
+ "ts-jest" : " ^29.1.1 " ,
82
84
"typescript" : " ~5.3.3" ,
83
85
"uuid" : " ^9.0.0"
84
86
},
91
93
"url" : " https://github.com/Fairmint/open-captable-protocol/issues"
92
94
},
93
95
"homepage" : " https://github.com/Fairmint/open-captable-protocol#readme"
94
- }
96
+ }
0 commit comments