This repository has been archived by the owner on Jun 21, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 58
/
package.json
50 lines (50 loc) · 2.97 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
{
"name": "algosigner",
"version": "1.11.0",
"author": "https://developer.purestake.io",
"description": "Sign Algorand transactions in your browser with PureStake.",
"repository": "https://github.com/PureStake/algosigner",
"license": "MIT",
"keywords": [
"Algorand",
"PureStake"
],
"scripts": {
"install:extension": "(cd ./packages/common && npm install); (cd ./packages/crypto && npm install); (cd ./packages/storage && npm install); (cd ./packages/ui && npm install); (cd ./packages/extension && npm install); (cd ./packages/dapp && npm install);",
"install:test": "(cd ./packages/test-project && npm install);",
"removelocks": "rm -rf ./package-lock.json && find . -path \"./packages/*\" -name \"package-lock.json\" -not -path \"*/node_modules/*\" -exec rm -rf {} \\;",
"removemodules": "rm -rf ./node_modules && find . -path \"./packages/*\" -type d -name \"node_modules\" -exec rm -rf {} +\\;",
"build": "(cd ./packages/common && npm run build); (cd ./packages/crypto && npm run build); (cd ./packages/dapp && npm run build); (cd ./packages/storage && npm run build); (cd ./packages/ui && npm run build); (cd ./packages/extension && npm run build);",
"build:ui": "cd ./packages/ui && npm run build && cp -r ./dist/* ../../dist/",
"build:extension": "cd ./packages/extension && npm run build && cp -r ./dist/* ../../dist/",
"clean": "rm -rf ./dist && rm -rf ./packages/common/dist && rm -rf ./packages/crypto/dist && rm -rf ./packages/dapp/dist && rm -rf ./packages/extension/dist && rm -rf ./packages/storage/dist && rm -rf ./packages/ui/dist && rm -rf ./packages/dapp/dist",
"copy": "mkdir -p ./dist && cp -r ./packages/extension/dist/* dist/ && cp -r ./packages/ui/dist/* dist/ && cp -r ./packages/dapp/dist/* dist/ && mkdir -p ./dist/docs && cp -r ./docs/* dist/docs/",
"prebuild": "rm -rf ./dist/*",
"postbuild": "npm run copy",
"postinstall": "npm run install:extension && npm run install:test",
"rebuild": "npm run clean && npm run removelocks && npm run removemodules && npm install && npm run build",
"coveragetest": "(cd ./packages/test-project && npm run coveragetest)",
"test": "npm run test:unit && npm run test:e2e",
"test:unit": "(cd ./packages/crypto && npm run test) && (cd ./packages/extension && npm run test) && (cd ./packages/ui && npm run test) && (cd ./packages/dapp && npm run test) && (cd ./packages/common && npm run test)",
"test:e2e": "(cd ./packages/test-project && npm run test)",
"test:github": "(cd ./packages/test-project && npm run github)"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^4.7.0",
"@typescript-eslint/parser": "^4.7.0",
"eslint": "^7.12.1",
"husky": "^4.3.0",
"lint-staged": "^10.5.1",
"prettier": "^2.2.1",
"typescript": "^3.9.7"
},
"husky": {
"hooks": {
"pre-push": "npm run test:unit"
}
},
"lint-staged": {
"*.{js,json,ts,scss,css,md,yaml}": "prettier --write",
"*.{js,json,ts}": "eslint --quiet --fix"
}
}