-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
123 lines (123 loc) · 3.75 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": "@momentum-design/widgets",
"version": "1.0.0-alpha.3",
"description": "widgets based on Chart.js for building dashboards",
"main": "dist/widgets.umd.js",
"module": "dist/widgets.es5.js",
"types": "dist/types/index.d.ts",
"files": [
"dist"
],
"scripts": {
"lint": "eslint ./src/**/*.ts",
"prebuild": "rimraf dist docs coverage",
"build": "tsc && rollup --config ./rollup.config.ts --configPlugin typescript --bundleConfigAsCjs && npm run docs",
"docs": "typedoc",
"test": "jest --coverage",
"watch": "rollup --config ./rollup.config.ts --configPlugin typescript --bundleConfigAsCjs -w",
"start": "concurrently --kill-others \"npm run watch\" \"npm run site-serv\"",
"site-serv": "npm run docs && npm run test && lite-server",
"test:watch": "jest --coverage --watch",
"test:prod": "npm run lint && npm run test -- --no-cache",
"predeploy-gh-pages": "ts-node tools/gh-pages-prepare",
"deploy-gh-pages": "npm run predeploy-gh-pages && ts-node tools/gh-pages-publish",
"report-coverage": "cat ./coverage/lcov.info | coveralls",
"semantic-release": "semantic-release",
"precommit": "lint-staged",
"republish": "ts-node tools/prepare-republish.ts",
"data": "ts-node tools/data.ts",
"init": "ts-node tools/init.ts"
},
"keywords": [
"web components",
"chart.js",
"chart",
"dashboard",
"UMD",
"ES5"
],
"author": {
"name": "Bendy Zhang",
"email": "[email protected]"
},
"repository": {
"type": "git",
"url": "https://github.com/momentum-design/momentum-widgets.git"
},
"publishConfig": {
"access": "public"
},
"license": "MIT",
"devDependencies": {
"@babel/core": "^7.2.2",
"@babel/plugin-transform-runtime": "^7.22.4",
"@bndynet/cli": "^1.2.0",
"@bndynet/typedoc-default-themes": "^0.5.1",
"@bndynet/typedoc-theme": "^0.0.1",
"@commitlint/cli": "^7.1.2",
"@faker-js/faker": "^8.0.2",
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-commonjs": "^25.0.0",
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.1.0",
"@rollup/plugin-replace": "^5.0.2",
"@rollup/plugin-terser": "^0.4.3",
"@rollup/plugin-typescript": "^11.1.1",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/exec": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@types/jest": "^23.3.12",
"@types/node": "^12.11.7",
"@typescript-eslint/eslint-plugin": "^4.7.0",
"@typescript-eslint/parser": "^4.7.0",
"autoprefixer": "^9.4.6",
"babel-jest": "^29.5.0",
"babel-preset-env": "^1.7.0",
"concurrently": "^5.0.0",
"coveralls": "^3.0.2",
"eslint": "^7.13.0",
"eslint-config-prettier": "^6.15.0",
"eslint-plugin-lit": "^1.8.3",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-wc": "^1.5.0",
"husky": "^1.3.1",
"jest": "^29.5.0",
"jest-config": "^29.5.0",
"jest-transform-stub": "^1.0.0",
"jsdom": "^22.1.0",
"jsdom-global": "^3.0.2",
"lint-staged": "^8.1.0",
"lite-server": "^2.5.4",
"node-sass": "^8.0.0",
"organize-imports-cli": "^0.8.0",
"postcss": "^7.0.14",
"prettier": "^2.1.2",
"rimraf": "^2.6.2",
"rollup": "^3.23.1",
"rollup-plugin-sass": "^1.12.19",
"rollup-plugin-sourcemaps": "^0.6.3",
"semantic-release": "^21.0.3",
"ts-jest": "^29.1.0",
"ts-node": "^10.9.1",
"typedoc": "^0.24.8",
"typescript": "^5.1.3"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"{src,test}/**/*.ts": [
"organize-imports-cli",
"prettier --write",
"git add"
]
},
"dependencies": {
"@babel/runtime": "^7.22.3",
"chart.js": "^4.3.0",
"lit": "^2.7.5"
}
}