-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
96 lines (96 loc) · 3.6 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
{
"name": "@blocklang/page-designer",
"version": "0.0.3-alpha.33",
"repository": {
"type": "git",
"url": "https://github.com/blocklang/page-designer.git"
},
"scripts": {
"dev": "dojo build --mode dev --watch --serve",
"build:app": "dojo build --mode dist",
"build:dev": "dojo build --mode dev",
"build:lib": "dojo build widget --mode dist --target lib && shx cp -r output/dist/* dist/",
"build:lib:legacy": "dojo build widget --mode dist --target lib -l && shx cp -r output/dist/* dist/",
"build:test": "dojo build widget -m unit",
"clean": "shx rm -rf dist && shx mkdir dist",
"build": "npm run clean && npm run build:lib:legacy && npm run build:lib && shx cp package.json dist/ && shx cp README.md dist/ && shx cp -r src/assets/* dist/assets/ ",
"test": "dojo test",
"test:unit": "dojo build --mode unit && dojo test --unit --config local",
"test:functional": "dojo build --mode functional && dojo test --functional --config local",
"test:all": "dojo build --mode unit && dojo build --mode functional && dojo test --all --config local",
"test:headless": "dojo test -u -c headless",
"test:ci": "run-s build:test test:headless",
"prettier": "prettier --write \"{src,tests}/**/*.{ts,tsx,css}\"",
"uploadCoverage": "codecov --file=coverage/coverage.json",
"json-server": "json-server --watch json-server/db.json --routes json-server/routes.json",
"json-server:mini": "json-server --watch json-server/db-mini-program.json --routes json-server/routes.json",
"json-server:harmonyos:liteWearable": "json-server --watch json-server/db-harmonyos-lite-wearable.json --routes json-server/routes.json",
"serve": "cd serve && serve -l 3001",
"eslint": "eslint --ext .tsx,.ts --fix ./src"
},
"dependencies": {
"@blocklang/bootstrap-classes": "~0.0.3-alpha.10",
"@blocklang/designer-core": "~0.0.1-alpha.97",
"@blocklang/dojo-fontawesome": "^0.0.3-alpha.3",
"@blocklang/std-ide-widget": "~0.0.3-alpha.24",
"@fortawesome/fontawesome-svg-core": "^1.2.32",
"@fortawesome/free-brands-svg-icons": "^5.15.1",
"@fortawesome/free-regular-svg-icons": "^5.15.1",
"@fortawesome/free-solid-svg-icons": "^5.15.1",
"@tanem/svg-injector": "^8.1.0",
"@types/scriptjs": "^0.0.2",
"@popperjs/core": "^2.5.4",
"scriptjs": "^2.5.9",
"tslib": "^2.0.3"
},
"peerDependencies": {
"@dojo/framework": "^7.0.5",
"bootstrap": "^5.0.0-beta1",
"@blocklang/std-widget-web": "^0.0.6-alpha.2"
},
"devDependencies": {
"@commitlint/cli": "^9.1.2",
"@commitlint/config-conventional": "^9.1.2",
"@dojo/cli": "^7.0.0",
"@dojo/cli-build-app": "^7.0.4",
"@dojo/cli-build-widget": "^7.0.0",
"@dojo/cli-test-intern": "^7.0.0",
"@dojo/framework": "^7.0.5",
"@types/node": "^14.14.12",
"@types/sinon": "^9.0.9",
"@typescript-eslint/eslint-plugin": "^3.10.1",
"@typescript-eslint/parser": "^3.10.1",
"@types/bootstrap": "^5.0.1",
"bootstrap": "^5.0.0-beta1",
"codecov": "^3.8.1",
"eslint": "^7.15.0",
"eslint-plugin-react": "^7.21.5",
"husky": "^4.3.5",
"lint-staged": "^10.5.3",
"npm-run-all": "^4.1.5",
"prettier": "^2.2.1",
"shx": "^0.3.3",
"sinon": "^9.2.1",
"typescript": "^3.9.7"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts,tsx,css}": [
"npm run eslint",
"prettier --write",
"git add"
]
},
"prettier": {
"singleQuote": false,
"tabWidth": 4,
"useTabs": true,
"printWidth": 120,
"arrowParens": "always"
}
}