-
Notifications
You must be signed in to change notification settings - Fork 27
/
package.json
90 lines (90 loc) · 2.48 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
{
"name": "preact-fluid",
"version": "0.9.1",
"description": "",
"main": "lib/index.js",
"scripts": {
"start": "npm run styleguide",
"generate-component": "plop component",
"test": "npm run prettier-check && jest --coverage",
"gh-pages": "./node_modules/.bin/gh-pages -d styleguide",
"styleguide": "styleguidist server",
"styleguide-build": "NODE_ENV=production styleguidist build",
"build": "babel src --out-dir lib --source-maps true",
"prebuild": "rimraf ./lib",
"precommit": "lint-staged",
"prettier": "prettier --write src/**/*.js",
"prettier-check": "prettier --list-different src/**/*.js",
"publish-docs": "npm run styleguide-build && npm run gh-pages",
"release": "./scripts/release.sh"
},
"lint-staged": {
"*.{js}": [
"prettier --write",
"git add"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/ajainvivek/preact-fluid.git"
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-core": "^6.26.0",
"babel-loader": "^7.1.2",
"babel-plugin-module-resolver": "^2.7.1",
"babel-plugin-transform-react-jsx": "^6.24.1",
"babel-preset-env": "^1.6.1",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-0": "^6.24.1",
"eslint": "^4.2.0",
"eslint-config-synacor": "^1.0.1",
"gh-pages": "^1.0.0",
"husky": "^0.14.3",
"if-env": "^1.0.0",
"jest": "^23.5.0",
"lint-staged": "^6.0.0",
"plop": "^1.9.0",
"preact": "^8.2.0",
"preact-compat": "^3.16.0",
"prettier": "1.9.1",
"prop-types": "^15.5.10",
"react": "^15.6.1",
"react-dom": "^15.6.1",
"react-styleguidist": "^6.0.21",
"rimraf": "^2.6.2",
"sass-resources-loader": "^1.3.0",
"webpack": "^3.5.5"
},
"dependencies": {
"lodash": "^4.17.4",
"preact": "^8.2.5",
"preact-router": "^2.5.4",
"styled-components": "^2.1.2"
},
"jest": {
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/__mocks__/fileMock.js",
"\\.(css|less|scss)$": "identity-obj-proxy",
"^react$": "preact-compat",
"^react-dom$": "preact-compat"
},
"testMatch": [
"**/**/*.spec.js"
],
"collectCoverageFrom": [
"src/**/*.{js,jsx}"
],
"moduleFileExtensions": [
"js",
"jsx"
],
"moduleDirectories": [
"node_modules"
]
}
}