-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathpackage.json
109 lines (109 loc) · 4.1 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
{
"name": "knit-ui",
"version": "0.7.4",
"description": "Component library for Clarisights",
"main": "lib/index.js",
"module": "es/index.js",
"types": "types/bundle.d.ts",
"repository": "[email protected]:adwyze/KnitUI.git",
"author": "Rohan Malhotra <[email protected]>",
"license": "MIT",
"private": false,
"files": [
"es",
"lib",
"types"
],
"scripts": {
"test": "jest --verbose=false --no-cache",
"test:coverage": "jest --coverage --verbose=false --no-cache",
"prebuild": "rm -rf build",
"build": "npm run dts:generate; npm run dts:bundle; npm-run-all --parallel build:cjs build:es; cp package.json build; cp README.md build",
"build:cjs": "NODE_ENV=production babel --extensions .ts,.tsx,.js,.jsx src --out-dir build/lib --ignore **/*.test.tsx,**/__tests__,**/__mocks__,**/*.spec.*,**/__snapshots__,**/*.stories.tsx,**/*.md && cp -r src/common/assets build/es/common/assets && cp -r src/common/assets build/lib/common/assets",
"build:es": "NODE_ENV=production BABEL_ENV=es babel --extensions .ts,.tsx,.js,.jsx src --out-dir build/es --ignore **/*.test.tsx,**/__tests__,**/__mocks__,**/*.spec.*,**/__snapshots__,**/*.stories.tsx,**/*.md && cp -r src/common/assets build/es/common/assets && cp -r src/common/assets build/lib/common/assets",
"storybook": "start-storybook -p 9001 -c .storybook",
"build-storybook": "build-storybook -c .storybook -o .out",
"precommit": "lint-staged",
"lint-staged:ts": "tsc && node node_modules/tslint/bin/tslint --project tsconfig.json",
"format": "prettier --write components/**/*.{tsx,ts,jsx,js,json}",
"tslint-check": "tslint-config-prettier-check ./tslint.json",
"dts:generate": "tsc --emitDeclarationOnly",
"dts:bundle": "dts-bundle --name knit-ui --main ./build/types/index.d.ts --out 'bundle.d.ts'",
"release": "rm -rf build; yarn build; cd build; npm publish"
},
"husky": {
"hooks": {
"pre-commit": "yarn precommit"
}
},
"lint-staged": {
"components/**/*.{tsx, jsx, ts, js, json}": [
"yarn format",
"yarn lint-staged:ts",
"git add"
]
},
"peerDependencies": {
"react": ">=16.0.0",
"react-dom": ">=16.0.0"
},
"devDependencies": {
"@babel/cli": "^7.4.3",
"@babel/core": "^7.4.3",
"@babel/plugin-proposal-class-properties": "^7.5.5",
"@babel/plugin-transform-runtime": "^7.6.2",
"@babel/preset-env": "^7.4.3",
"@babel/preset-react": "^7.0.0",
"@babel/preset-typescript": "^7.3.3",
"@babel/runtime": "^7.7.2",
"@storybook/addon-actions": "^5.0.10",
"@storybook/addon-backgrounds": "^5.0.10",
"@storybook/addon-info": "^5.0.10",
"@storybook/addon-knobs": "^5.0.11",
"@storybook/addon-storyshots": "^5.0.11",
"@storybook/addon-storysource": "^5.0.11",
"@storybook/react": "^5.0.10",
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.4.0",
"@types/jest": "^24.0.13",
"@types/storybook__react": "^4.0.1",
"@types/styled-components": "^4.1.14",
"awesome-typescript-loader": "^5.2.1",
"babel-loader": "^8.0.5",
"babel-plugin-styled-components": "^1.10.0",
"dts-bundle": "^0.7.3",
"husky": "^1.3.1",
"identity-obj-proxy": "^3.0.0",
"jest": "^24.3.1",
"jest-dom": "^3.1.4",
"jest-styled-components": "^6.3.1",
"lint-staged": "^8.1.5",
"npm-run-all": "^4.1.5",
"prettier": "^1.17.1",
"react": "^16.8.6",
"react-docgen-typescript-loader": "^3.0.1",
"react-docgen-typescript-webpack-plugin": "^1.1.0",
"react-dom": "^16.8.4",
"react-test-renderer": "^16.8.6",
"storybook-readme": "^5.0.0",
"ts-jest": "^24.0.0",
"tslint": "^5.13.1",
"tslint-config-prettier": "^1.18.0",
"tslint-eslint-rules": "^5.4.0",
"tslint-react": "^3.6.0",
"typescript": "^3.4.5"
},
"dependencies": {
"@types/styled-components": "^4.1.14",
"@types/uuid": "^3.4.5",
"array-move": "^2.2.1",
"chroma-js": "^2.0.3",
"downshift": "^4.0.8",
"rc-dialog": "^7.3.1",
"rc-switch": "^1.9.0",
"react-sortable-hoc": "^1.10.1",
"react-spring": "^8.0.27",
"styled-components": "^4.2.0",
"uuid": "^3.3.2"
}
}