-
-
Notifications
You must be signed in to change notification settings - Fork 421
/
Copy pathpackage.json
141 lines (141 loc) · 3.97 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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
{
"name": "@panzoom/panzoom",
"version": "4.0.0-pre",
"description": "Pan and zoom elements anywhere using native transformations",
"main": "dist/panzoom.js",
"scripts": {
"build": "yarn clean && rollup --config && yarn minify",
"build-demo": "yarn webpack --mode production",
"clean": "rm -rf dist/",
"commit": "git-cz",
"docs": "typedoc --theme markdown --hideBreadcrumbs --exclude \"**/src/+(css|isAttached|isSVGElement|pointers|shallowClone).ts\" --out docs --readme none src/panzoom.ts && node tasks/docs.js",
"lint": "concurrently \"yarn type-check\" \"yarn tslint\" \"yarn prettier\"",
"lint:fix": "concurrently \"yarn type-check\" \"yarn tslint --fix\" \"precise-commits\"",
"minify": "uglifyjs --compress --mangle --comments /Timmy/ --output dist/panzoom.min.js -- dist/panzoom.js && yarn sizeup",
"prettier": "prettier --check \"**/*.tsx\" \"**/*.ts\" \"**/*.js\"",
"release": "semantic-release",
"sizeup": "echo \"gzipped size: \" && gzip-size dist/panzoom.min.js",
"start": "webpack-dev-server",
"test": "yarn lint && yarn test:unit",
"test:unit": "karma start",
"test:watch": "karma start --singleRun=false --autoWatch",
"tslint": "tslint -p tsconfig.json -c tslint.json",
"type-check": "tsc -p tsconfig.json --noEmit"
},
"files": [
"MIT-License.txt",
"src",
"dist",
"README.md"
],
"keywords": [
"panzoom",
"pan",
"zoom",
"draggable",
"dragging",
"drag"
],
"repository": "timmywil/panzoom",
"license": "MIT",
"author": {
"name": "Timmy Willison",
"email": "[email protected]"
},
"dependencies": {},
"devDependencies": {
"@babel/core": "^7.5.5",
"@babel/preset-env": "^7.5.5",
"@commitlint/cli": "^8.1.0",
"@commitlint/config-conventional": "^8.1.0",
"@commitlint/prompt": "^8.1.0",
"@semantic-release/exec": "^3.3.6",
"@semantic-release/git": "^7.0.16",
"@types/mocha": "^5.2.7",
"@types/prismjs": "^1.16.0",
"@types/react-dom": "^16.8.5",
"commitizen": "^4.0.3",
"commitlint": "^8.1.0",
"concat-md": "^0.3.0",
"concurrently": "^4.1.1",
"css-loader": "^3.2.0",
"gzip-size-cli": "^3.0.0",
"html-webpack-plugin": "^3.2.0",
"husky": "^3.0.3",
"karma": "^4.2.0",
"karma-chrome-launcher": "^3.1.0",
"karma-mocha": "^1.3.0",
"karma-typescript": "^4.1.1",
"mocha": "^6.2.0",
"precise-commits": "^1.0.2",
"prettier": "^1.18.2",
"prismjs": "^1.17.1",
"puppeteer": "^1.19.0",
"react": "^16.9.0",
"react-dom": "^16.9.0",
"rollup": "^1.19.4",
"rollup-plugin-typescript2": "^0.24.0",
"semantic-release": "^15.13.21",
"style-loader": "^1.0.0",
"ts-loader": "^6.0.4",
"tslint": "^5.18.0",
"tslint-config-prettier": "^1.18.0",
"typedoc": "^0.15.0",
"typedoc-plugin-markdown": "^2.1.1",
"typescript": "^3.5.3",
"uglify-js": "^3.6.0",
"webpack": "^4.39.2",
"webpack-cli": "^3.3.6",
"webpack-dev-server": "^3.8.0"
},
"resolutions": {
"lodash": "^4.17.15",
"marked": "^0.7.0"
},
"prettier": {
"printWidth": 100,
"semi": false,
"singleQuote": true,
"jsxBracketSameLine": true,
"arrowParens": "always"
},
"config": {
"commitizen": {
"path": "./node_modules/@commitlint/prompt"
}
},
"husky": {
"hooks": {
"pre-commit": "yarn lint:fix",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"release": {
"branch": "master",
"ci": false,
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/npm",
[
"@semantic-release/exec",
{
"prepareCmd": "yarn build"
}
],
[
"@semantic-release/git",
{
"assets": [
"docs",
"dist",
"panzoom.d.ts",
"package.json"
]
}
],
"@semantic-release/github"
],
"tagFormat": "${version}"
}
}