-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpackage.json
More file actions
125 lines (125 loc) · 5.09 KB
/
package.json
File metadata and controls
125 lines (125 loc) · 5.09 KB
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
{
"name": "@nyaruka/temba-components",
"version": "0.156.15",
"description": "Web components to support rapidpro and related projects",
"author": "Nyaruka <code@nyaruka.coim>",
"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 \"pnpm 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 && pnpm svg && tsc && rollup -c rollup.components.mjs ",
"build-wc": "rollup -c rollup.webchat.mjs",
"dev": "pnpm 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",
"pre-commit": "pnpm locale:extract && pnpm locale:build && pnpm svg && git add ./src/Icons.ts ./static/svg/index.svg ./xliff ./src/locales && lint-staged",
"format:eslint": "eslint --ext .ts . --fix --ignore-path .gitignore --ignore-pattern \"src/locales/\"",
"format:prettier": "prettier \"**/*.js\" \"**/*.ts\" \"!src/locales/**\" --config .prettierrc --write --ignore-path .gitignore",
"format": "pnpm format:eslint && pnpm format:prettier",
"test": "wtr --node-resolve",
"test:fast": "wtr --node-resolve --fast",
"test:coverage": "wtr --node-resolve --coverage",
"check-coverage": "node check-coverage.js",
"validate": "pnpm format && pnpm build && pnpm test:coverage && pnpm check-coverage",
"test:watch": "wtr --node-resolve --watch",
"stress-test": "node stress-test.js",
"svg": "rimraf static/svg/work && node svg.js --resolution=150 --output='./static/svg/index.svg' --usage='./src/Icons.ts'",
"svg-wc": "rimraf static/svg/work && node svg.js --resolution=150 --output='./static/svg/webchat.svg' --usage='./src/webchat/index.ts'",
"version": "pnpm run build && auto-changelog -p && git add CHANGELOG.md",
"locale:extract": "lit-localize extract --config localize.config.json",
"locale:build": "echo 'Building localizations..' && lit-localize build --config localize.config.json > dist/locale.out 2>&1",
"dev-data:sync": "node scripts/dev-data-sync.mjs copy",
"dev-data:reset": "node scripts/dev-data-sync.mjs reset",
"dev-data:wipe": "node scripts/dev-data-sync.mjs reset",
"dev-data:status": "node scripts/dev-data-sync.mjs status"
},
"dependencies": {
"@jsplumb/browser-ui": "^6.2.10",
"@lit/localize": "^0.12.2",
"@open-wc/lit-helpers": "^0.7.0",
"chart.js": "^4.5.1",
"chartjs-adapter-luxon": "^1.3.1",
"chartjs-plugin-datalabels": "^2.2.0",
"color-hash": "^2.0.2",
"croppie": "^2.6.5",
"geojson": "^0.5.0",
"image-size": "^1.1.1",
"immer": "10",
"leaflet": "1.5.1",
"lit": "3.3.2",
"lit-element": "^4.2.2",
"lit-html": "^3.3.2",
"luxon": "3.7",
"remarkable": "^2.0.1",
"serialize-javascript": "^7.0.3",
"tiny-lru": "^11.2.5",
"uuid": "^14.0.0",
"zustand": "^5.0.3"
},
"devDependencies": {
"@lit/localize-tools": "^0.8.1",
"@open-wc/testing": "4.0.0",
"@rollup/plugin-commonjs": "^29.0.0",
"@rollup/plugin-image": "^3.0.3",
"@rollup/plugin-node-resolve": "^16.0.3",
"@rollup/plugin-replace": "^6.0.2",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^12.3.0",
"@types/leaflet": "1.4.4",
"@types/node": "22.13.0",
"@types/remarkable": "^2.0.1",
"@typescript-eslint/eslint-plugin": "^7.5.0",
"@typescript-eslint/parser": "^7.5.0",
"@web/dev-server": "^0.4.6",
"@web/dev-server-esbuild": "^1.0.5",
"@web/dev-server-rollup": "^0.6.4",
"@web/test-runner": "0.20.2",
"@web/test-runner-puppeteer": "0.15.0",
"auto-changelog": "*",
"busboy": "^1.6.0",
"concurrently": "^9.2.1",
"deepmerge": "^4.3.1",
"dynamicpixelmatch": "^0.0.2",
"eslint": "^8.29.0",
"eslint-plugin-html": "^7.1.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-lit": "^1.10.1",
"eslint-plugin-lit-a11y": "^4.1.1",
"eslint-plugin-no-only-tests": "^3.1.0",
"eslint-plugin-wc": "^1.2.0",
"fprint": "^2.0.1",
"htmlclean": "^3.0.8",
"lint-staged": "^10.0.0",
"minio": "^8.0.5",
"node-fetch": "^3.3.2",
"oslllo-svg-fixer": "^2.2.0",
"pixelmatch": "^5.2.1",
"pngjs": "^6.0.0",
"prettier": "^3.8.1",
"rimraf": "^2.6.3",
"rollup": "^4.0.0",
"rollup-plugin-copy": "^3.4.0",
"rollup-plugin-svg-import": "^3.0.0",
"rollup-plugin-url": "^3.0.1",
"shelljs": "^0.8.5",
"sinon": "^21.0.0",
"svgstore": "^3.0.1",
"tslib": "2.8.1",
"@types/mocha": "^10.0.0",
"typescript": "5.9.3",
"yargs": "^17.7.2"
},
"pnpm": {
"overrides": {
"trim": "^0.0.3",
"prismjs": "^1.23.0",
"@open-wc/testing-helpers": "3.0.0",
"@types/minimatch": "5.1.2",
"@types/chai": "4.3.20"
}
},
"packageManager": "pnpm@9.15.4"
}