forked from nyaruka/temba-components
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
111 lines (111 loc) · 3.85 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
{
"name": "@nyaruka/temba-components",
"version": "0.28.3",
"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/",
"private": false,
"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\"",
"tsc:watch": "tsc --watch",
"build": "rimraf dist && tsc && rollup -c rollup.config.js",
"dev": "yarn build && cp -R ./dist/* ../rapidpro/node_modules/@nyaruka/temba-components/dist/ && cp -R ./dist/* ../floweditor/node_modules/@nyaruka/temba-components/dist/",
"prepublish": "tsc",
"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": "yarn lint:eslint && yarn lint:prettier",
"format": "yarn format:eslint && yarn format:prettier",
"test": "rimraf out-tsc && tsc && web-test-runner --node-resolve --coverage",
"test:watch": "web-test-runner --node-resolve --watch",
"storybook": "concurrently --kill-others --names tsc,storybook \"npm run tsc:watch\" \"start-storybook --node-resolve --watch --open\"",
"storybook:build": "build-storybook",
"version": "yarn run build && auto-changelog -p && git add CHANGELOG.md"
},
"dependencies": {
"geojson": "^0.5.0",
"highlight.js": "^10.7.1",
"humanize-duration-ts": "^2.1.1",
"image-size": "^0.9.7",
"leaflet": "1.5.1",
"lit": "2.2.0",
"lit-flatpickr": "^0.3",
"luxon": "^2.4.0",
"marked": "4.0.10",
"remarkable": "^2.0.1",
"serialize-javascript": "^3.0.0",
"tiny-lru": "^8.0.2"
},
"devDependencies": {
"@babel/core": "7.11.0",
"@open-wc/building-rollup": "^1.0.0",
"@open-wc/demoing-storybook": "2.4.7",
"@open-wc/eslint-config": "4.2.0",
"@open-wc/testing": "3.1.2",
"@rollup/plugin-commonjs": "^17.1.0",
"@types/leaflet": "1.4.4",
"@types/node": "13.11.1",
"@types/remarkable": "^2.0.1",
"@typescript-eslint/eslint-plugin": "4.0.0",
"@typescript-eslint/parser": "4.0.0",
"@web/dev-server": "^0.0.12",
"@web/test-runner": "^0.7.41",
"@web/test-runner-puppeteer": "0.10.5",
"auto-changelog": "^1.16.2",
"concurrently": "^5.1.0",
"deepmerge": "^4.2.2",
"dynamicpixelmatch": "^0.0.2",
"eslint": "7.7.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-html": "6.0.0",
"eslint-plugin-import": "2.18.2",
"eslint-plugin-lit": "1.3.0",
"eslint-plugin-lit-a11y": "1.0.1",
"eslint-plugin-no-only-tests": "2.4.0",
"eslint-plugin-wc": "^1.3.0",
"husky": "^1.0.0",
"lint-staged": "^10.0.0",
"pixelmatch": "^5.2.1",
"prettier": "^2.0.4",
"rimraf": "^2.6.3",
"rollup": "^2.3.4",
"rollup-plugin-copy": "^3.4.0",
"sinon": "^9.2.4",
"tslib": "^1.11.0",
"typescript": "4.6.2"
},
"eslintConfig": {
"extends": [
"@open-wc/eslint-config",
"eslint-config-prettier"
]
},
"prettier": {
"singleQuote": true,
"arrowParens": "avoid"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "yarn build && wtr --node-resolve"
}
},
"lint-staged": {
"*.ts": [
"prettier --write",
"eslint"
]
},
"resolutions": {
"trim": "^0.0.3",
"prismjs": "^1.23.0",
"lit-element": "^3",
"lit-html": "^2"
}
}