-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
78 lines (78 loc) · 2.27 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
{
"name": "gem-panel",
"version": "1.1.1",
"description": "A custom element <gem-panel>, let you easily create layout similar to Adobe After Effects.",
"main": "dist/index.js",
"module": "index.js",
"files": [
"/dist/",
"/index.js",
"/index.js.map",
"/index.d.ts",
"/index.d.ts.map",
"/elements/",
"/lib/",
"/src/",
"/helper/"
],
"typings": "index.d.ts",
"keywords": [
"webcomponents",
"custom-elements",
"layout",
"grid",
"adobe-after-effects"
],
"scripts": {
"docs": "npx gem-book docs -i logo.png -t '<gem-panel>'",
"build:docs": "npm run docs -- --build",
"lint": "tsc --noEmit && eslint --ext .ts --fix src/",
"clean": "node -e \"fs.readdirSync('src').map(dir => require('rimraf').sync(dir))\"",
"build:module": "npm run clean && tsc",
"build:dist": "rimraf dist && NODE_OPTIONS=--openssl-legacy-provider webpack --mode=production --config webpack.config.dist.js",
"build": "npm run build:module && npm run build:dist",
"prepare": "npm run lint && npm run build",
"example": "NODE_OPTIONS=--openssl-legacy-provider webpack serve --mode=development",
"test": "npm run build && karma start --coverage",
"test:bs": "npm run build && karma start karma.bs.config.js --coverage"
},
"author": "mantou132",
"repository": {
"type": "git",
"url": "git+https://github.com/mantou132/gem-panel.git"
},
"license": "MIT",
"dependencies": {
"@mantou/gem": "^1.2.1"
},
"devDependencies": {
"@open-wc/testing": "^2.5.33",
"@open-wc/testing-karma": "^4.0.9",
"@open-wc/testing-karma-bs": "^1.3.94",
"@typescript-eslint/eslint-plugin": "^4.22.0",
"@typescript-eslint/parser": "^4.22.0",
"cross-env": "^7.0.3",
"eslint": "^7.25.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^3.4.0",
"html-webpack-plugin": "^5.3.1",
"husky": "^6.0.0",
"lint-staged": "^10.5.4",
"prettier": "^2.2.1",
"rimraf": "^3.0.2",
"ts-loader": "^9.1.1",
"typescript": "^4.2.4",
"webpack": "^5.36.2",
"webpack-cli": "^4.6.0",
"webpack-dev-server": "^3.11.2",
"webpack-merge": "^5.7.3"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.[jt]s": "eslint --fix"
}
}