This repository was archived by the owner on Dec 5, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
56 lines (56 loc) · 2.44 KB
/
Copy pathpackage.json
File metadata and controls
56 lines (56 loc) · 2.44 KB
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": "near-transactions-accounting-report",
"version": "0.1.0",
"license": "UNLICENSED",
"type": "module",
"scripts": {
"install_all": "yarn install && (cd frontend && yarn install) && (cd backend && yarn install) && (cd shared && yarn install)",
"record_commit_hash_and_build_time": "now=$(date -u \"+%Y-%m-%d %H:%M:%S\") && last_commit=$(git rev-parse HEAD) && echo \"{\\\"commit\\\": \\\"$last_commit\\\", \\\"build_time\\\": \\\"$now\\\"}\" > frontend/dist/version.json",
"prebuild": "yarn record_commit_hash_and_build_time",
"build": "(cd ./frontend && yarn build)",
"start": "(cd frontend && yarn start)",
"dev": "(cd frontend && yarn dev)",
"drop_actions_and_tasks_and_types": "yarn ts-node --esm ./backend/dropActionsAndTasksAndTypes.ts",
"update_local_seed_file": "export $(grep -v '^#' backend/.env.development.local | xargs) && PREPEND_BACKEND_SUBFOLDER=true ./backend/data/updateLocalSeedFile.sh",
"update_test_data": "export $(grep -v '^#' backend/.env.development.local | xargs) && PREPEND_BACKEND_SUBFOLDER=true ./backend/test_helpers/updateTestData.sh",
"seed": "export $(grep -v '^#' backend/.env.development.local | xargs) && PREPEND_BACKEND_SUBFOLDER=true ./backend/data/seedLocalDatabase.sh",
"test": "DOTENV_CONFIG_PATH=.env.test jest",
"t": "(cd backend && DOTENV_CONFIG_PATH=.env.test jest --testNamePattern=\"_tx_\" src/helpers/updateTransactions.test.ts)",
"overwrite": "(cd backend && DOTENV_CONFIG_PATH=.env.test jest --testNamePattern=\"possibleExpectedOutput\")",
"backend_dev": "(cd backend && yarn dev)",
"benchmark": "(cd backend && yarn ts-node --esm ./data/benchmarkTheSqlQueries.ts)"
},
"devDependencies": {
"@nearfoundation/near-prettier-config": "^1.0.1",
"@shelf/jest-mongodb": "^4.1.1",
"@types/jest": "^29.1.2",
"csvjson-json2csv": "^1.0.3",
"dotenv": "^16.0.3",
"eslint": "^8.25.0",
"eslint-config-near": "^1.0.3",
"jest": "^29.2.0",
"jest-environment-node": "^29.2.0",
"ts-jest": "^29.0.3",
"ts-node": "^10.9.1",
"typescript": "^4.8.4"
},
"resolutions": {
"@babel/preset-env": "7.13.8"
},
"prettier": "@nearfoundation/near-prettier-config",
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"engines": {
"node": ">=18.0.0 <19.0.0"
}
}