-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
60 lines (60 loc) · 1.79 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
51
52
53
54
55
56
57
58
59
60
{
"name": "bos-component-ts-starter",
"version": "1.0.0",
"description": "TypeScript project starter for NEAR BOS",
"type": "module",
"devDependencies": {
"@types/react": "^18.2.21",
"@typescript-eslint/eslint-plugin": "^6.5.0",
"bos-cli": "^0.3.13",
"eslint": "^8.48.0",
"husky": "^8.0.0",
"lint-staged": "^14.0.1",
"near-social-vm-types": "^1.1.0",
"prettier": "^2.8.4",
"replace-in-files": "^3.0.0",
"rimraf": "^5.0.1",
"sucrase": "^3.34.0",
"tsc-files": "^1.1.4"
},
"scripts": {
"fmt": "prettier --write '**/*.{js,jsx,ts,tsx,json}'",
"fmt:check": "prettier --check '**/*.{js,jsx,ts,tsx,json}'",
"lint": "tsc --pretty --noEmit && eslint .",
"dev": "~/.cargo/bin/bos-loader devgovgigs.near --path ./.bos/transpiled/src",
"build": "npm run fmt && rimraf .bos/transpiled && mkdir -p .bos/transpiled/src && sucrase ./src -d .bos/transpiled/src/npm_package_name --transforms typescript,jsx --jsx-runtime preserve --disable-es-transforms --out-extension jsx && node ./build.js",
"deploy": "npm run build && cd .bos/transpiled && bos components deploy",
"prepare": "husky install"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx,css,json,md}": [
"prettier --write"
],
"*.{js,jsx,ts,tsx,json}": [
"npm run lint"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/frol/bos-component-ts-starter.git"
},
"keywords": [
"near",
"nearprotocol",
"bos",
"blockchainos",
"typescript",
"starter"
],
"author": "frol.near",
"license": "MIT",
"bugs": {
"url": "https://github.com/frol/bos-component-ts-starter/issues"
},
"homepage": "https://github.com/frol/bos-component-ts-starter#readme"
}