-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpackage.json
More file actions
129 lines (129 loc) · 3.51 KB
/
package.json
File metadata and controls
129 lines (129 loc) · 3.51 KB
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
{
"name": "postonents",
"version": "0.4.1",
"description": "Components for Emails",
"author": "Osamah Aldoaiss",
"license": "MIT",
"repository": {
"url": "https://github.com/Saifadin/postonents"
},
"keywords": [
"react",
"react-dom",
"emails",
"components",
"context",
"typescript",
"ui"
],
"main": "dist/index.js",
"module": "dist/postonents.esm.js",
"typings": "dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"test": "jest --env=jsdom",
"test:watch": "yarn test -- --watch",
"start": "cp ./index.js ./dist/index.js && cross-env NODE_ENV=development rollup -w -c | tsc -w -p tsconfig.base.json",
"prebuild": "rimraf dist",
"build": "cross-env NODE_ENV=production tsc -p tsconfig.base.json && rollup -c && rimraf compiled && cp ./index.js ./dist/index.js",
"build:dev": "cross-env NODE_ENV=production tsc -p tsconfig.base.json && rollup -c && cp ./index.js ./dist/index.js",
"prepublish": "yarn build",
"precommit": "lint-staged",
"size": "size-limit",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook -o docs",
"deploy-storybook": "storybook-to-ghpages --existing-output-dir=docs"
},
"dependencies": {
"prop-types": "^15.6.2",
"react": "16.7.0",
"react-dom": "16.7.0",
"uniqid": "^5.0.3"
},
"peerDependencies": {
"react": ">=16"
},
"devDependencies": {
"@babel/core": "^7.2.2",
"@storybook/addon-actions": "^4.1.3",
"@storybook/addon-links": "^4.1.3",
"@storybook/addons": "^4.1.3",
"@storybook/react": "^4.1.3",
"@storybook/storybook-deployer": "^2.8.1",
"@types/lodash": "^4.14.119",
"@types/react": "^16.7.18",
"@types/react-dom": "^16.0.11",
"@types/uniqid": "^4.1.2",
"awesome-typescript-loader": "^3.4.1",
"babel-loader": "^8.0.4",
"babel-plugin-annotate-pure-calls": "^0.4.0",
"babel-plugin-dev-expression": "^0.2.1",
"cross-env": "^5.2.0",
"enzyme": "^3.7.0",
"enzyme-adapter-react-16": "^1.6.0",
"enzyme-to-json": "^3.3.4",
"eslint": "^5.6.1",
"eslint-config-airbnb": "^17.1.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-jest": "^21.24.1",
"eslint-plugin-jsx-a11y": "^6.1.0",
"eslint-plugin-react": "^7.11.1",
"husky": "^1.2.1",
"identity-obj-proxy": "^3.0.0",
"jest": "^23.6.0",
"jest-cli": "^23.6.0",
"lint-staged": "^8.1.0",
"prettier": "^1.18.2",
"react-testing-library": "^5.4.2",
"rollup": "^0.68.1",
"rollup-plugin-babel": "^4.1.0",
"rollup-plugin-node-resolve": "^4.0.0",
"rollup-plugin-replace": "^2.1.0",
"rollup-plugin-size-snapshot": "^0.7.0",
"rollup-plugin-sourcemaps": "^0.4.2",
"size-limit": "^0.21.0",
"ts-jest": "^22.4.6",
"tsc-watch": "^1.0.21",
"tslint": "^5.11.0",
"tslint-react": "^3.6.0",
"typescript": "^3.1.6"
},
"lint-staged": {
"**/*.{ts,tsx}": [
"prettier",
"git add"
]
},
"jest": {
"collectCoverageFrom": [
"src/**/*.{ts,tsx}"
],
"transform": {
".(ts|tsx)": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"testMatch": [
"<rootDir>/test/**/?(*.)(spec|test).ts?(x)"
],
"transformIgnorePatterns": [
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx)$"
],
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"json"
]
},
"size-limit": [
{
"path": "./dist/index.js",
"limit": "14 kB"
},
{
"path": "./dist/postonents.esm.js",
"limit": "14 kB"
}
]
}