-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
70 lines (70 loc) · 2.24 KB
/
Copy pathpackage.json
File metadata and controls
70 lines (70 loc) · 2.24 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
{
"name": "react-component-boilerplate",
"version": "1.0.0",
"description": "A Boilerplate for Publishing Basic React Components to NPM",
"main": "dist/index.js",
"scripts": {
"test": "jest --verbose",
"start": "webpack-dev-server --mode development",
"transpileJS": "babel src -d dist --no-comments --copy-files",
"transpileSASS": "node-sass --output-style compressed src/component.scss > dist/component.css",
"transpile": "npm run transpileJS && npm run transpileSASS",
"prepublishOnly": "npm run transpile",
"build": "webpack --mode production",
"deploy": "gh-pages -d examples/dist",
"publish:gh-pages": "npm run build && npm run deploy",
"publish:travis": "npm run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/fatihtelis/react-component-boilerplate.git"
},
"homepage": "https://github.com/fatihtelis/react-component-boilerplate#readme",
"bugs": {
"url": "https://github.com/fatihtelis/react-component-boilerplate/issues"
},
"keywords": [
"react",
"reactjs",
"component",
"boilerplate",
"npm",
"publish"
],
"author": "Fatih Telis <fatih.telis@gmail.com>",
"license": "MIT",
"devDependencies": {
"@babel/cli": "^7.4.4",
"@babel/core": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"@babel/preset-react": "^7.0.0",
"babel-eslint": "^10.0.1",
"babel-loader": "^8.0.0",
"copy-webpack-plugin": "^5.0.3",
"css-loader": "^2.1.1",
"enzyme": "^3.10.0",
"enzyme-adapter-react-16": "^1.14.0",
"eslint": "^5.16.0",
"eslint-config-airbnb": "^17.1.0",
"eslint-plugin-import": "^2.17.3",
"eslint-plugin-jsx-a11y": "^6.2.1",
"eslint-plugin-react": "^7.13.0",
"gh-pages": "^2.0.1",
"html-webpack-plugin": "^3.2.0",
"jest": "^24.8.0",
"node-sass": "^4.12.0",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"sass-loader": "^7.1.0",
"style-loader": "^0.23.1",
"webpack": "^4.33.0",
"webpack-cli": "^3.3.2",
"webpack-dev-server": "^3.4.1"
},
"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)$": "<rootDir>/__mocks__/styleMock.js"
}
}
}