-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
66 lines (66 loc) · 1.78 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
{
"name": "@yetric/npm-typescript-package-base",
"version": "1.0.0",
"description": "A template for building NPM packages in TypeScript",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"scripts": {
"build": "tsc",
"test": "jest --config jestconfig.json",
"format": "prettier --write \"src/**/*.{ts,js}\"",
"lint": "tslint -p tsconfig.json",
"prepare": "npm run build",
"prepublishOnly": "npm test && npm run lint",
"preversion": "npm run lint",
"version": "npm run format && git add -A src",
"postversion": "git push && git push --tags",
"examples": "webpack-dev-server",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook"
},
"repository": {
"type": "git",
"url": "git+https://github.com/yetric/npm-typescript-package-base.git"
},
"keywords": [
"npm",
"typescript",
"module",
"skeleton"
],
"author": "Mattias Hising <[email protected]>",
"license": "ISC",
"bugs": {
"url": "https://github.com/yetric/npm-typescript-package-base/issues"
},
"homepage": "https://github.com/yetric/npm-typescript-package-base#readme",
"devDependencies": {
"@babel/core": "^7.10.3",
"@storybook/html": "^5.3.19",
"@types/jest": "^25.2.1",
"babel-loader": "^8.1.0",
"html-webpack-plugin": "^4.3.0",
"jest": "^26.0.1",
"prettier": "^2.0.5",
"ts-jest": "^25.5.1",
"ts-loader": "^7.0.5",
"tslint": "^6.1.2",
"tslint-config-prettier": "^1.18.0",
"typescript": "^3.8.3",
"webpack": "^4.43.0",
"webpack-cli": "^3.3.12",
"webpack-dev-server": "^3.11.0"
},
"files": [
"lib/**/*"
],
"dependencies": {},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts,js}": "prettier --write"
}
}