-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
executable file
·76 lines (76 loc) · 3.11 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
{
"name": "inmars-web-components",
"author": "Mars Gotta <[email protected]> (http://www.marsgotta.com)",
"license": "MIT",
"repository": "https://github.com/inmars-io/web-inmars.git",
"private": true,
"workspaces": [
"packages/**/*"
],
"scripts": {
"bootstrap": "lerna bootstrap",
"postinstall": "yarn bootstrap",
"analyze": "func() { wca analyze \"packages/*/${1}/src/Mars*.ts\" --outFiles {dir}/../custom-elements.json; }; func",
"analyze:root": "wca analyze \"packages/**/src/Mars*.ts\" --outFile custom-elements.json",
"analyze:all": "wca analyze \"packages/**/src/Mars*.ts\" --litelement --outFiles {dir}/../custom-elements.json",
"lint": "eslint --ext .ts,.html . --ignore-path .gitignore && prettier \"**/*.ts\" --check --ignore-path .gitignore",
"format": "eslint --ext .ts,.html . --fix --ignore-path .gitignore && prettier \"**/*.ts\" --write --ignore-path .gitignore",
"test": "tsc && wtr --coverage",
"test:watch": "tsc && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"wtr --watch\"",
"storybook": "tsc && yarn analyze:root && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"start-storybook -p 6006\"",
"storybook:build": "tsc && yarn analyze:root && build-storybook",
"build": "rimraf dist && tsc ",
"start:build": "npm run build && web-dev-server --root-dir dist --app-index index.html --open --compatibility none",
"start": "tsc && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"wds\"",
"clean": "rimraf node_modules && rimraf yarn.lock && lerna clean",
"build:svg": "node ./scripts/svg-to-object/index.js -s \" assets/svg/**/**.svg \"",
"prepare": "husky install",
"docs": "wca analyze \"packages/**/src/Mars*.ts\" --outFiles {dir}/../README.md"
},
"devDependencies": {
"@babel/core": "^7.20.0",
"@custom-elements-manifest/analyzer": "^0.6.0",
"@open-wc/building-rollup": "^2.0.0",
"@open-wc/eslint-config": "^9.0.0",
"@open-wc/testing": "next",
"@storybook/addon-actions": "^6.5.0",
"@storybook/addon-essentials": "^6.5.0",
"@storybook/addon-links": "^6.5.0",
"@storybook/builder-webpack4": "^6.5.0",
"@storybook/manager-webpack4": "^6.5.0",
"@storybook/web-components": "^6.5.0",
"@types/react": "^18.0.0",
"@typescript-eslint/eslint-plugin": "^5.0.0",
"@typescript-eslint/parser": "^5.0.0",
"@web/dev-server": "^0.1.0",
"@web/dev-server-storybook": "^0.5.0",
"@web/test-runner": "^0.15.0",
"babel-loader": "^8.3.0",
"concurrently": "^7.0.0",
"deepmerge": "^4.0.0",
"eslint": "^8.0.0",
"eslint-config-prettier": "^8.0.0",
"eslint-plugin-storybook": "^0.6.0",
"husky": "^8.0.0",
"lerna": "^6.0.0",
"lint-staged": "^13.0.0",
"lit-html": "^2.6.0",
"prettier": "^2.0.0",
"rimraf": "^4.0.0",
"rollup": "^3.0.0",
"storybook-dark-mode": "^2.0.0",
"tslib": "^2.0.0",
"typescript": "^4.0.0",
"web-component-analyzer": "^2.0.0-next.4"
},
"prettier": {
"singleQuote": true,
"arrowParens": "avoid"
},
"lint-staged": {
"*.ts": [
"eslint --fix",
"prettier --write"
]
}
}