-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
109 lines (109 loc) · 4.58 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
{
"name": "@nyaruka/temba-components",
"version": "0.111.5",
"description": "Web components to support rapidpro and related projects",
"author": "Nyaruka <[email protected]>",
"main": "dist/index.js",
"module": "dist/index.js",
"homepage": "https://github.com/nyaruka/temba-components/",
"license": "AGPL-3.0-only",
"repository": "https://github.com/nyaruka/temba-components/",
"scripts": {
"start": "concurrently --kill-others --names tsc,web-dev-server \"yarn tsc:watch\" \"web-dev-server --app-index demo/index.html --node-resolve --open --watch --port 3010 --esbuild-target auto\"",
"start:bg": "concurrently --kill-others --names tsc,web-dev-server \"yarn tsc:watch\" \"web-dev-server --app-index demo/index.html --node-resolve --watch --port 3010 --esbuild-target auto\"",
"tsc:watch": "tsc --watch",
"build": "rimraf dist && yarn svg && tsc && rollup -c rollup.components.mjs ",
"build-wc": "rollup -c rollup.webchat.mjs",
"dev": "yarn build && cp -R ./dist/* ../temba/rapidpro/node_modules/@nyaruka/temba-components/dist/ && cp -R ./dist/* ../floweditor/node_modules/@nyaruka/temba-components/dist/",
"postversion": "git push --tags && git push origin main",
"lint:eslint": "eslint --ext .ts . --ignore-path .gitignore",
"format:eslint": "eslint --ext .ts . --fix --ignore-path .gitignore",
"lint:prettier": "prettier \"**/*.js\" \"**/*.ts\" --config .prettierrc --check --ignore-path .gitignore",
"format:prettier": "prettier \"**/*.js\" \"**/*.ts\" --config .prettierrc --write --ignore-path .gitignore",
"lint": "yarn lint:eslint && yarn lint:prettier",
"format": "yarn format:eslint && yarn format:prettier",
"test-file": "rimraf out-tsc && tsc && web-test-runner --node-resolve --coverage",
"test": "wtr --node-resolve --coverage",
"test:watch": "wtr --node-resolve --watch",
"storybook": "concurrently --kill-others --names tsc,storybook \"npm run tsc:watch\" \"start-storybook --node-resolve --watch --open\"",
"storybook:build": "build-storybook",
"svg": "rimraf static/svg/work && node svg.js --resolution=150 --output='./static/svg/index.svg' --usage='./src/vectoricon/index.ts'",
"svg-wc": "rimraf static/svg/work && node svg.js --resolution=150 --output='./static/svg/webchat.svg' --usage='./src/webchat/index.ts'",
"version": "yarn run build && auto-changelog -p && git add CHANGELOG.md",
"locale:extract": "lit-localize extract --config localize.config.json",
"locale:build": "lit-localize build --config localize.config.json"
},
"dependencies": {
"@lit/localize": "^0.12.1",
"color-hash": "^2.0.2",
"croppie": "^2.6.5",
"geojson": "^0.5.0",
"image-size": "^1.1.1",
"leaflet": "1.5.1",
"lit": "3.1.2",
"lit-element": "^4.0.4",
"lit-html": "^3.1.2",
"luxon": "3.5",
"remarkable": "^2.0.1",
"serialize-javascript": "^6.0.2",
"tiny-lru": "^11.2.5"
},
"devDependencies": {
"@lit/localize-tools": "^0.7.2",
"@open-wc/building-rollup": "3.0.2",
"@open-wc/eslint-config": "12.0.3",
"@open-wc/testing": "4.0.0",
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-image": "^3.0.3",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^11.1.6",
"@types/leaflet": "1.4.4",
"@types/node": "20.12.4",
"@types/remarkable": "^2.0.1",
"@typescript-eslint/eslint-plugin": "^7.5.0",
"@typescript-eslint/parser": "^5.46.1",
"@web/dev-server-esbuild": "^0.3.3",
"@web/test-runner": "0.15.0",
"@web/test-runner-puppeteer": "^0.11.0",
"auto-changelog": "*",
"concurrently": "^7.6.0",
"dynamicpixelmatch": "^0.0.2",
"eslint": "^8.29.0",
"fprint": "^2.0.1",
"htmlclean": "^3.0.8",
"husky": "^1.0.0",
"lint-staged": "^10.0.0",
"oslllo-svg-fixer": "^2.2.0",
"pixelmatch": "^5.2.1",
"prettier": "^2.0.4",
"rimraf": "^2.6.3",
"rollup": "^4.14.0",
"rollup-plugin-copy": "^3.4.0",
"rollup-plugin-svg-import": "^3.0.0",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-url": "^3.0.1",
"shelljs": "^0.8.5",
"sinon": "15",
"svgstore": "^3.0.1",
"tslib": "2.6.2",
"typescript": "5.4.4"
},
"husky": {
"hooks": {
"pre-commit": "yarn locale:extract && yarn locale:build && yarn svg && git add ./src/vectoricon ./static/svg/index.svg ./xliff ./src/locales && lint-staged"
}
},
"lint-staged": {
"*.ts": [
"prettier --config .prettierrc --write",
"eslint"
]
},
"resolutions": {
"trim": "^0.0.3",
"prismjs": "^1.23.0",
"wrap-ansi": "7.0.0",
"string-width": "4.1.0"
},
"packageManager": "[email protected]"
}