forked from nyaruka/temba-components
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
109 lines (109 loc) · 4.13 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": "@glific/temba-components",
"version": "0.65.3",
"description": "Web components to support floweditor and related projects",
"author": "Nyaruka <[email protected]>",
"main": "dist/index.js",
"module": "dist/index.js",
"homepage": "https://github.com/glific/temba-components/",
"license": "AGPL-3.0-only",
"repository": "https://github.com/glific/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.config.js",
"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\" --check --ignore-path .gitignore",
"format:prettier": "prettier \"**/*.js\" \"**/*.ts\" --write --ignore-path .gitignore",
"lint": "lint:eslint && yarn lint:prettier",
"format": "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",
"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.11.4",
"color-hash": "^2.0.2",
"geojson": "^0.5.0",
"highlight.js": "^10.7.1",
"image-size": "^0.9.7",
"leaflet": "1.5.1",
"lit": "2.2.0",
"luxon": "^2.4.0",
"marked": "4.0.10",
"remarkable": "^2.0.1",
"serialize-javascript": "^3.0.0",
"tiny-lru": "^8.0.2"
},
"devDependencies": {
"@lit/localize-tools": "^0.6.9",
"@open-wc/building-rollup": "2.2.1",
"@open-wc/eslint-config": "9.0.0",
"@open-wc/testing": "3.1.2",
"@rollup/plugin-commonjs": "^23.0.5",
"@types/leaflet": "1.4.4",
"@types/node": "13.11.1",
"@types/remarkable": "^2.0.1",
"@typescript-eslint/eslint-plugin": "^5.46.1",
"@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": "^2.3.4",
"rollup-plugin-copy": "^3.4.0",
"shelljs": "^0.8.5",
"sinon": "15",
"svgstore": "^3.0.1",
"tslib": "2.4.1",
"typescript": "4.9.4"
},
"eslintConfig": {
"extends": [
"eslint-config-prettier"
]
},
"prettier": {
"singleQuote": true,
"arrowParens": "avoid"
},
"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 --write",
"eslint"
]
},
"resolutions": {
"trim": "^0.0.3",
"prismjs": "^1.23.0",
"lit-element": "^3",
"lit-html": "^2"
},
"packageManager": "[email protected]"
}