forked from szimek/signature_pad
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
83 lines (83 loc) · 2.13 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
{
"name": "abitari_signature_pad",
"description": "Library for drawing smooth signatures.",
"version": "1.0.0",
"homepage": "https://github.com/IvanPayan/angular2-signaturepad",
"author": {
"name": "Szymon Nowak",
"email": "szimek@gmail.com",
"url": "https://github.com/szimek"
},
"license": "MIT",
"source": "src/signature_pad.ts",
"dev:main": "dist/signature_pad.js",
"main": "dist/signature_pad.min.js",
"module": "dist/signature_pad.m.js",
"umd:main": "dist/signature_pad.umd.js",
"types": "dist/types/signature_pad.d.ts",
"scripts": {
"build": "del dist && rollup --config && mkdir dist/types && mv dist/*.d.ts dist/types && cp dist/signature_pad.umd.js docs/js/",
"format": "prettier --write '{src,tests}/**/*.{js,ts}'",
"lint": "tslint -c tslint.json '{src,tests}/**/*.ts'",
"prepublishOnly": "yarn run build",
"serve": "serve -l 9000 docs",
"start": "yarn run build && yarn run serve",
"test": "jest --coverage"
},
"repository": {
"type": "git",
"url": "https://github.com/IvanPayan/angular2-signaturepad.git"
},
"files": [
"src",
"dist",
"docs"
],
"devDependencies": {
"@types/jest": "^23.1.1",
"canvas-prebuilt": "^1.6.5-prerelease.1",
"del": "^3.0.0",
"del-cli": "^1.1.0",
"husky": "^0.14.3",
"jest": "^23.1.0",
"lint-staged": "^7.2.0",
"prettier": "^1.14.0",
"rollup": "^0.61.2",
"rollup-plugin-terser": "^1.0.1",
"rollup-plugin-tslint": "^0.1.34",
"rollup-plugin-typescript2": "^0.15.0",
"serve": "^9.1.0",
"ts-jest": "^22.4.6",
"tslint": "^5.11.0",
"tslint-config-prettier": "^1.14.0",
"typescript": "^2.9.2"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.ts": [
"yarn run prettier",
"yarn run lint",
"git add"
]
},
"jest": {
"moduleFileExtensions": [
"ts",
"js"
],
"testEnvironmentOptions": {
"resources": "usable"
},
"testMatch": [
"<rootDir>/tests/**/*.test.ts"
],
"testURL": "http://localhost:3000/",
"transform": {
"^.+\\.tsx?$": "ts-jest"
}
}
}