-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
115 lines (115 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
112
113
114
115
{
"name": "dc-extensions-sdk",
"version": "2.4.0",
"description": "",
"keywords": [],
"main": "dist/dc-extensions-sdk.umd.js",
"module": "dist/dc-extensions-sdk.es5.js",
"typings": "dist/types/dc-extensions-sdk.d.ts",
"author": "ccorbett <[email protected]>",
"repository": {
"type": "git",
"url": "https://github.com/amplience/dc-extensions-sdk.git"
},
"license": "MIT",
"engines": {
"node": ">=14.0.0"
},
"scripts": {
"prepare": "npm run build",
"lint": "eslint -c .eslintrc.js --ext .ts {src,test} && prettier --check {src,test}",
"lint:fix": "eslint -c .eslintrc.js --ext .ts {src,test} --fix && prettier --write {src,test}",
"prebuild": "rimraf dist",
"build": "tsc --module commonjs && rollup -c rollup.config.ts && typedoc --out docs --target es6 --theme minimal --mode file src --media media/",
"start": "rollup -c rollup.config.ts -w",
"pretest": "rimraf coverage",
"test": "npm run test:unit && npm run test:headless",
"posttest": "npm run coverage",
"test:unit": "jest",
"test:headless": "karma start -- --no-cache",
"test:unit:watch": "jest --watch",
"coverage": "npm run coverage:collect && npm run coverage:merge && npm run coverage:report",
"coverage:collect": "mv coverage/jest/coverage-final.json coverage/jest-coverage-final.json && mv coverage/karma/coverage-final.json coverage/karma-coverage-final.json",
"coverage:merge": "nyc merge coverage coverage/coverage-final.json && lcov-result-merger 'coverage/*/lcov.info' coverage/lcov.info",
"coverage:report": "nyc report -t coverage",
"deploy-docs": "ts-node tools/gh-pages-publish",
"report-coverage": "cat './coverage/lcov.info' | coveralls",
"commit": "git-cz",
"release": "standard-version",
"postrelease": "ts-node tools/gh-pages-publish"
},
"lint-staged": {
"*.ts": "eslint --cache --fix",
"*.{js,css,md,ts}": "prettier --write"
},
"config": {
"commitizen": {
"path": "node_modules/cz-conventional-changelog"
}
},
"prettier": {
"semi": true,
"singleQuote": true
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"dependencies": {
"message-event-channel": "^1.1.0"
},
"devDependencies": {
"@commitlint/cli": "^12.0.0",
"@commitlint/config-conventional": "^7.1.2",
"@types/jest": "^26.0.20",
"@types/node": "^10.17.47",
"@typescript-eslint/eslint-plugin": "^4.9.0",
"@typescript-eslint/eslint-plugin-tslint": "^4.9.0",
"@typescript-eslint/parser": "^4.9.0",
"colors": "^1.4.0",
"commitizen": "^4.2.4",
"coveralls": "^3.1.0",
"cross-env": "^5.2.1",
"cz-conventional-changelog": "^2.1.0",
"dotenv": "^8.2.0",
"eslint": "^7.14.0",
"eslint-config-prettier": "^6.15.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jsdoc": "^30.7.8",
"husky": "^5.0.9",
"jest": "^26.6.3",
"karma": "^5.2.3",
"karma-chrome-launcher": "^3.0.0",
"karma-cli": "^2.0.0",
"karma-firefox-launcher": "^2.1.0",
"karma-jasmine": "^4.0.1",
"karma-typescript": "^5.2.0",
"lcov-result-merger": "^3.1.0",
"lint-staged": "^10.5.2",
"lodash.camelcase": "^4.3.0",
"nyc": "^15.1.0",
"prettier": "^2.2.1",
"prompt": "^1.0.0",
"replace-in-file": "^3.4.2",
"rimraf": "^2.7.1",
"rollup": "^2.34.0",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-json": "^4.0.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-sourcemaps": "^0.6.3",
"rollup-plugin-typescript2": "^0.29.0",
"shelljs": "^0.8.5",
"standard-version": "^9.3.2",
"ts-jest": "^26.4.4",
"ts-node": "^9.0.0",
"typedoc": "^0.19.2",
"typescript": "^4.1.2"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged && npm run lint && npm run test && npm run build"
}
}
}