-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpackage.json
123 lines (123 loc) · 4.45 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
112
113
114
115
116
117
118
119
120
121
122
123
{
"name": "@lexml/lexml-eta",
"version": "1.8.3",
"description": "Webcomponent lexml-eta following open-wc recommendations",
"author": "lexml-eta",
"license": "GPL-2.0-only",
"main": "dist/index.js",
"module": "dist/index.js",
"repository": {
"type": "git",
"url": "https://github.com/lexml/lexml-eta.git"
},
"homepage": "https://github.com/lexml/lexml-eta",
"bugs": {
"url": "https://github.com/lexml/lexml-eta/issues"
},
"keywords": [
"lexml",
"lexml-eta",
"editor legislativo",
"editor de emendas",
"editor de texto articulado"
],
"files": [
"dist"
],
"scripts": {
"start": "rimraf out-tsc && npm run build && npm run copy:quill1table && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"wds\"",
"start:cache": "rimraf out-tsc && npm run build && npm run copy:quill1table && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"wds --cache\"",
"build": "tsc",
"clean": "rimraf out-tsc && rimraf prod",
"prepublish": "rimraf dist && rollup -c rollup.config.dist.js",
"copy:assets": "cp -r ./assets ./dist/assets || xcopy assets dist\\assets /E /I /Y",
"copy:quill1table": "cp -r ./src/assets/js ./out-tsc/src/assets/js || xcopy .\\src\\assets\\js .\\out-tsc\\src\\assets\\js /E /I /Y",
"css:concat": "concat -o assets/css/editor.css ./node_modules/quill/dist/quill.snow.css",
"css:minify": "minify assets/css/editor.css > assets/css/editor.min.css",
"css:build": "npm run css:concat",
"lint": "eslint --ext .ts . --ignore-path .gitignore && prettier \"**/*.ts\" --check --ignore-path .gitignore",
"format": "eslint --ext .ts . --fix --ignore-path .gitignore && prettier \"**/*.ts\" --write --ignore-path .gitignore",
"test": "rimraf out-tsc && tsc && npm run copy:quill1table && wtr --coverage",
"test:watch": "rimraf out-tsc && tsc && npm run copy:quill1table && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"wtr --watch\"",
"test:watch:comando-emenda": "rimraf out-tsc && tsc && npm run copy:quill1table && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"wtr ./out-tsc/test/emenda/**/*.test.js --watch\"",
"storybook": "tsc && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"wds -c .storybook/server.mjs\"",
"storybook:build": "tsc && build-storybook",
"postinstall0": "node ./node_modules/husky/lib/installer/bin install",
"build:demo": "npm run clean && npm run build && rollup -c",
"deploy:demo": "git push origin `git subtree split --prefix prod main`:gh-pages --force",
"cy:open:local": "cypress open --env envName=local",
"cy:run:local": "cypress run --env envName=local"
},
"dependencies": {
"@shoelace-style/shoelace": "^2.0.0-beta.73",
"diff": "^5.1.0",
"font-awesome": "^4.7.0",
"html-diff-ts": "^1.4.2",
"lit": "^2.2.1",
"pwa-helpers": "^0.9.1",
"quill": "^1.3.7",
"redux": "^4.0.5",
"redux-devtools-extension": "^2.13.8",
"reselect": "^4.0.0",
"shadow-selection-polyfill": "^1.1.0",
"sinon": "^9.2.4"
},
"devDependencies": {
"@open-wc/building-rollup": "^1.9.4",
"@open-wc/eslint-config": "^4.2.0",
"@open-wc/testing": "^3.1.3",
"@rollup/plugin-node-resolve": "^13.0.6",
"@rollup/plugin-typescript": "^8.3.0",
"@types/diff": "^5.0.3",
"@typescript-eslint/eslint-plugin": "^4.21.0",
"@typescript-eslint/parser": "^4.21.0",
"@web/dev-server": "^0.1.10",
"@web/dev-server-storybook": "^0.3.5",
"@web/test-runner": "^0.12.18",
"concat": "^1.0.3",
"concurrently": "^5.3.0",
"cypress": "^13.3.3",
"eslint": "^7.23.0",
"eslint-config-prettier": "^7.2.0",
"eslint-plugin-prettier": "^3.3.1",
"gh-pages": "^3.1.0",
"husky": "^4.3.8",
"koa-proxies": "^0.12.2",
"lint-staged": "^10.5.4",
"minify": "6.0.1",
"prettier": "^2.2.1",
"rimraf": "^3.0.2",
"rollup-plugin-copy": "^3.4.0",
"rollup-plugin-terser": "^7.0.2",
"ts-node": "^9.0.0",
"tslib": "^2.2.0",
"typescript": "^4.2.3"
},
"eslintConfig": {
"extends": [
"@open-wc/eslint-config",
"eslint-config-prettier"
]
},
"prettier": {
"arrowParens": "avoid",
"bracketSpacing": true,
"printWidth": 180,
"semi": true,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "es5",
"useTabs": false
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.ts": [
"prettier --write",
"eslint --fix"
]
}
}