-
Notifications
You must be signed in to change notification settings - Fork 65
/
package.json
126 lines (126 loc) · 4.04 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
{
"name": "@dojo/widgets",
"version": "8.0.1-pre",
"description": "Dojo Widgets",
"private": true,
"homepage": "https://dojo.io",
"bugs": {
"url": "https://github.com/dojo/widgets/issues"
},
"license": "BSD-3-Clause",
"main": "src/main.tsx",
"engines": {
"npm": ">=3.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/dojo/widgets.git"
},
"scripts": {
"dev": "dojo build app -m dev -w -s",
"dev:legacy": "dojo build app -m dev -w -s -l",
"prettier": "prettier --write \"src/**/*.{ts,tsx,css}\"",
"dojo-package": "dojo-package",
"dojo-release": "dojo-release",
"version:update": "shx cp package.json package.json.bk && node scripts/version",
"version:reset": "shx mv package.json.bk package.json",
"test": "dojo test",
"test:headless": "dojo test -u -c headless",
"test:node": "dojo test -u -c built",
"test:watch": "dojo test --watch",
"test:ci": "run-s clean build:test test:node",
"build:ce": "dojo build widget",
"build:docs": "dojo build app -f docs=true -l",
"build:themes": "dojo build theme",
"build:examples": "dojo build app -f docs=true && dojo build app -m dev",
"build:docs:dev": "dojo build app -m dev -w -s",
"build:lib": "dojo build widget -t lib",
"build:lib:legacy": "dojo build widget -t lib -l",
"build:test": "dojo build widget -m unit",
"build:tsc": "tsc",
"build": "npm run clean && npm run build:lib && npm run copy:lib && npm run build:lib:legacy && npm run copy:lib:legacy && npm run build:ce && npm run copy:ce && npm run build:themes && npm run copy:themes",
"clean": "shx rm -rf dist && shx mkdir dist && shx mkdir dist/umd && shx mkdir dist/esm && shx mkdir dist/dev",
"copy:lib": "shx cp -r output/dist dist/esm/src",
"copy:lib:legacy": "shx cp -r output/dist dist/umd/src",
"copy:ce": "shx cp -r output/dist dist/umd/src/",
"copy:themes": "shx cp -r output/theme/* dist/umd/src/theme",
"release": "run-s \"version:update -- {@}\" build version:reset dojo-package \"dojo-release -- {@}\" --",
"uploadCoverage": "codecov --file=coverage/coverage.json"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"peerDependencies": {
"@dojo/framework": "~8.0.0"
},
"devDependencies": {
"@dojo/cli": "~8.0.0",
"@dojo/cli-build-app": "~8.0.0",
"@dojo/cli-build-theme": "~8.0.0",
"@dojo/cli-build-widget": "~8.0.0",
"@dojo/cli-test-intern": "~8.0.0",
"@dojo/framework": "~8.0.0",
"@dojo/parade": "~2.0.0",
"@dojo/scripts": "^4.0.3",
"@material/button": "3.0.0",
"@material/card": "5.1.0",
"@material/checkbox": "5.1.0",
"@material/chips": "5.1.0",
"@material/circular-progress": "6.0.0",
"@material/dialog": "5.1.0",
"@material/drawer": "5.1.0",
"@material/fab": "5.1.0",
"@material/linear-progress": "5.1.0",
"@material/list": "5.1.0",
"@material/menu": "5.1.0",
"@material/radio": "5.1.0",
"@material/select": "5.1.0",
"@material/slider": "5.1.0",
"@material/snackbar": "5.1.0",
"@material/switch": "5.1.0",
"@material/tab": "5.1.0",
"@material/textfield": "11.0.0",
"@material/top-app-bar": "5.1.0",
"@material/typography": "5.1.0",
"@theintern/a11y": "~0.2.0",
"@types/execa": "^0.8.1",
"@types/glob": "5.0.36",
"@types/grunt": "0.4.*",
"@types/jsdom": "2.0.*",
"@types/node": "~9.6.5",
"@types/sinon": "^4.1.3",
"cldr-data": "36.0.0",
"codecov": "3.5.0",
"cpx": "1.5.0",
"cross-spawn": "6.0.5",
"execa": "^0.9.0",
"glob": "7.1.4",
"husky": "2.2.0",
"jsdom": "^9.5.0",
"lint-staged": "8.1.6",
"npm-run-all": "4.1.5",
"pkg-dir": "^2.0.0",
"prettier": "1.17.0",
"shx": "^0.2.2",
"sinon": "^4.1.3",
"typescript": "~3.5.3"
},
"dependencies": {
"tslib": "~1.9.1"
},
"lint-staged": {
"*.{ts,tsx,css}": [
"prettier --write",
"git add"
]
},
"prettier": {
"singleQuote": true,
"tabWidth": 4,
"useTabs": true,
"printWidth": 100,
"arrowParens": "always"
}
}