forked from SutuLabs/Pawket
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
64 lines (64 loc) · 2.72 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
61
62
63
64
{
"name": "pawket",
"version": "0.2.0",
"license": "GPL-3.0",
"author": "SutuLabs",
"private": "true",
"scripts": {
"postinstall": "lerna bootstrap",
"serve": "cd ./packages/pawket && vue-cli-service serve",
"build:all": "yarn check-i18n --ci && yarn build:pawket && yarn build:mixch",
"build:pawket": "cd ./packages/pawket && vue-cli-service build",
"build:ext": "cd ./packages/pawket && cross-env VUE_CLI_SERVICE_CONFIG_PATH=vue.config.ext.js vue-cli-service build",
"build:mixch": "cd ./packages/pawket && cross-env VUE_CLI_SERVICE_CONFIG_PATH=vue.config.mixch.js vue-cli-service build",
"build:cli": "cd ./packages/cli && ncc build server.ts -o ../../dist/cli && cp ../../node_modules/clvm/browser/blsjs.wasm ../../dist/cli",
"build:cli:docker": "cd ./packages/cli && yarn build:cli && docker build -f cli/Dockerfile -t wizicer/coin-processor:latest .",
"build:cordova": "cd ./packages/pawket && vue-cli-service build --env cordova",
"lint": "vue-cli-service lint",
"serve:ext": "cross-env VUE_CLI_SERVICE_CONFIG_PATH=vue.config.ext.js vue-cli-service --env.NODE_ENV=development build-watch --mode development",
"serve:mixch": "cd ./packages/pawket && cross-env VUE_CLI_SERVICE_CONFIG_PATH=vue.config.mixch.js vue-cli-service serve --port 8088",
"check-i18n": "vue-i18n-extract report --vueFiles \"./packages/pawket/src/**/*.?(js|ts|vue)\" --languageFiles \"./packages/pawket/src/i18n/?(en|zh-cn).?(json|yml|yaml|js)\"",
"check-i18n:all": "vue-i18n-extract report --vueFiles \"./packages/pawket/src/**/*.?(js|ts|vue)\" --languageFiles \"./packages/pawket/src/i18n/*.?(json|yml|yaml|js)\"",
"serve:server": "nodemon cli/server.ts",
"start": "cross-env MAX_THREAD=0 ts-node cli/server.ts",
"importmods": "cd ./packages/cli && ts-node importmods.ts",
"compile": "ts-node cli/compile.ts",
"brun": "ts-node cli/brun.ts",
"publish:docker": "docker push wizicer/coin-processor:latest",
"test:chia": "cd ./packages/pawket-chia-lib && jest --coverage=false",
"test:cli": "cd ./packages/cli && jest --coverage=false",
"test": "yarn test:cli && yarn test:chia"
},
"devDependencies": {
"eslint": "^6.7.2",
"eslint-plugin-vue": "^6.2.2",
"lerna": "^6.6.1",
"vue-i18n-extract": "^2.0.4"
},
"eslintConfig": {
"root": true,
"env": {
"node": true,
"webextensions": true
},
"extends": [
"plugin:vue/essential",
"eslint:recommended",
"@vue/typescript/recommended",
"@vue/prettier",
"@vue/prettier/@typescript-eslint"
],
"parserOptions": {
"ecmaVersion": 2020
},
"rules": {}
},
"browserslist": [
"> 1%",
"last 2 versions",
"not dead"
],
"workspaces": [
"packages/*"
]
}