-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
63 lines (63 loc) · 2.02 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
{
"name": "@blocklang/std-widget-web",
"version": "0.0.6-alpha.3",
"repository": {
"type": "git",
"url": "https://github.com/blocklang/std-widget-web.git"
},
"license": "MIT",
"scripts": {
"dev": "dojo build --mode dev --watch --serve",
"build:dev": "dojo build --mode dev",
"build:widget": "dojo build widget --mode dist --target lib",
"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",
"prettier": "prettier --write \"{src,tests}/**/*.{ts,tsx,css}\"",
"clean": "shx rm -rf dist && shx mkdir dist",
"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": "npm run clean && npm run build:lib && npm run build:lib:legacy && shx cp package.json dist/ && shx cp README.md dist/"
},
"dependencies": {
"@dojo/framework": "^7.0.5",
"tslib": "^2.0.3"
},
"devDependencies": {
"@commitlint/cli": "^9.1.2",
"@commitlint/config-conventional": "^9.1.2",
"@dojo/cli": "^7.0.0",
"@dojo/cli-build-app": "^7.0.3",
"@dojo/cli-build-widget": "^7.0.0",
"@dojo/cli-test-intern": "^7.0.0",
"@types/node": "^14.14.7",
"@types/sinon": "9.0.4",
"husky": "^4.3.0",
"lint-staged": "^10.5.1",
"prettier": "^2.1.2",
"shx": "^0.3.3",
"sinon": "9.0.2",
"typescript": "^3.9.7"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts,tsx}": [
"prettier --write",
"git add"
]
},
"prettier": {
"singleQuote": false,
"tabWidth": 4,
"useTabs": true,
"parser": "typescript",
"printWidth": 120,
"arrowParens": "always"
}
}