-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
61 lines (61 loc) · 1.88 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
{
"name": "@blocklang/designer-core",
"version": "0.0.1-alpha.97",
"repository": {
"type": "git",
"url": "https://github.com/blocklang/designer-core.git"
},
"scripts": {
"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/",
"clean": "shx rm -rf dist && shx mkdir dist",
"build": "npm run clean && npm run build:lib && npm run build:lib:legacy && shx cp package.json dist/ && shx cp README.md dist/",
"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}\""
},
"dependencies": {
"tslib": "^2.0.3"
},
"peerDependencies": {
"@dojo/framework": "^7.0.5"
},
"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",
"@dojo/framework": "^7.0.5",
"@types/node": "^14.14.7",
"@types/sinon": "^9.0.8",
"husky": "^4.3.0",
"lint-staged": "^10.5.1",
"prettier": "^2.1.2",
"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}": [
"prettier --write",
"git add"
]
},
"prettier": {
"singleQuote": false,
"tabWidth": 4,
"useTabs": true,
"printWidth": 120,
"arrowParens": "always"
}
}