-
Notifications
You must be signed in to change notification settings - Fork 19
/
package.json
114 lines (114 loc) · 3.3 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
{
"name": "quran-components",
"version": "0.2.2",
"description": "Quran.com collection of common React UI components",
"main": "lib/index.js",
"repository": "git@github.com:quran/common-components.git",
"author": "Quran.com",
"license": "MIT",
"scripts": {
"start": "start-storybook -p 6006",
"test": "NODE_ENV=test jest",
"lint": "eslint ./src, ./utils --ext .js",
"lint:fix": "npm run lint -- --fix",
"prebuild": "rimraf ./lib && rimraf ./storybook-static",
"build": "babel src --out-dir lib --copy-files --ignore test,*.stories.js --source-maps true",
"build:watch": "npm run build -- -w",
"postbuild": "node utils/generateModulesList.js",
"deploy:gp": "npm run build-storybook && gh-pages -m 'update [ci skip]' -d ./storybook-static",
"deploy:npm": "npm run build && npm publish ./",
"build-storybook": "build-storybook",
"precommit": "lint-staged",
"prettier": "prettier --single-quote --write",
"storybook": "start-storybook -p 6006"
},
"files": [
"lib",
"src",
"README.md"
],
"dependencies": {
"prop-types": "^15.6.0",
"react-tether": "^1.0.1",
"styled-components": "^3.4.2"
},
"devDependencies": {
"babel-cli": "^6.18.0",
"babel-core": "^6.26.0",
"babel-eslint": "^7.1.1",
"babel-jest": "^22.0.6",
"babel-plugin-transform-class-properties": "^6.19.0",
"babel-plugin-transform-react-require": "^1.0.1",
"babel-plugin-transform-require-ignore": "^0.0.2",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-env": "^1.6.1",
"babel-preset-es2015": "6.13.2",
"babel-preset-react": "6.11.1",
"babel-preset-stage-2": "6.13.0",
"babel-runtime": "^6.22.0",
"classnames": "^2.2.5",
"cross-env": "^3.1.4",
"css-loader": "^0.28.11",
"css-modules-require-hook": "^4.0.5",
"debug": "^2.6.0",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"eslint": "^3.15.0",
"eslint-config-airbnb": "^14.1.0",
"eslint-loader": "^1.6.1",
"eslint-plugin-import": "2.2.0",
"eslint-plugin-jest": "^21.5.0",
"eslint-plugin-jsx-a11y": "^4.0.0",
"eslint-plugin-react": "^6.9.0",
"file-loader": "^0.10.1",
"gh-pages": "^0.12.0",
"jest": "^22.0.4",
"jsdom": "^9.9.1",
"lint-staged": "^5.0.0",
"node-sass": "^4.3.0",
"pre-commit": "^1.2.2",
"prettier": "^1.10.2",
"react": "^16.1.0",
"react-addons-test-utils": "^15.6.2",
"react-dom": "^16.1.0",
"react-hot-loader": "3.0.0-beta.6",
"rimraf": "^2.6.2",
"sass-loader": "^7.0.2",
"style-loader": "^0.13.1",
"url-loader": "^0.5.8",
"webpack": "3.12.0",
"@storybook/addon-info": "^3.4.6",
"@storybook/addon-links": "^3.4.6",
"@storybook/addon-options": "^3.4.6",
"@storybook/cli": "^3.4.6",
"@storybook/react": "^3.4.6",
"react-test-renderer": "^16.1.1"
},
"pre-commit": [
"lint",
"test"
],
"jest": {
"testRegex": "^.+\\.test\\.js?$",
"testPathIgnorePatterns": [
"/node_modules/",
"/dist/"
],
"automock": false,
"setupFiles": [
"./setupJest.js"
],
"transform": {
"^.+\\.js?$": "babel-jest"
},
"verbose": true,
"testURL": "http://localhost/"
},
"lint-staged": {
"*.js": [
"npm run prettier",
"npm run lint:fix",
"git add"
]
}
}