-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
108 lines (108 loc) · 3.27 KB
/
package.json
File metadata and controls
108 lines (108 loc) · 3.27 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
{
"name": "boilerplate-typescript-react",
"version": "1.0.0",
"description": "Boilerplate for react in typescript ",
"keywords": [
"boilerplate",
"webpack",
"typescript",
"react",
"sass"
],
"license": "MIT",
"scripts": {
"build": "npm run build:ts && npm run build:webpack",
"build:ts": "tsc",
"build:webpack": "TS_NODE_PROJECT=.build-config/tsconfig.json webpack --config .build-config/webpack/config.ts --config-name prod",
"build:storybook": "build-storybook -c test/stories -s public",
"dev:ts": "tsc --watch",
"dev:webpack": "TS_NODE_PROJECT=.build-config/tsconfig.json webpack-dev-server --config .build-config/webpack/config.ts --config-name dev",
"dev:storybook": "TS_NODE_PROJECT=.build-config/tsconfig.json start-storybook -p 6006 -c .build-config/storybook -s public",
"test": "npm run test:lint && npm run test:jest",
"test:lint": "npm run test:tslint && npm run test:stylelint",
"test:tslint": "tslint **/*.ts -e '**/*.d.ts' -t verbose",
"test:stylelint": "stylelint **.*.scss --syntax scss",
"test:jest": "jest",
"script:createUser": "ts-node ./scripts/createUser.ts"
},
"author": {
"name": "Albert Cuartiella",
"email": "cuarti1992@gmail.com"
},
"repository": {
"type": "git",
"url": "git+https://github.com/cuarti/boilerplate-typescript-react.git"
},
"homepage": "https://github.com/cuarti/boilerplate-typescript-react#readme",
"bugs": {
"url": "https://github.com/cuarti/boilerplate-typescript-react/issues"
},
"dependencies": {
"react": "^16.3.1",
"react-css-themr": "^2.1.2",
"react-dom": "^16.3.1"
},
"devDependencies": {
"@storybook/addon-actions": "^4.0.0-alpha.1",
"@storybook/addon-links": "^4.0.0-alpha.1",
"@storybook/react": "^4.0.0-alpha.1",
"@types/jest": "^22.2.2",
"@types/node": "^9.6.3",
"@types/react": "^16.3.7",
"@types/react-dom": "^16.0.5",
"@types/react-hot-loader": "^3.0.6",
"@types/react-test-renderer": "^16.0.1",
"@types/webpack": "^4.1.3",
"@types/webpack-notifier": "^1.5.3",
"awesome-typescript-loader": "^5.0.0",
"babel": "^6.23.0",
"babel-core": "^6.26.0",
"babel-loader": "^7.1.4",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-2": "^6.24.1",
"css-loader": "^0.28.11",
"identity-obj-proxy": "^3.0.0",
"jest": "^22.4.3",
"node-sass": "^4.8.3",
"react-hot-loader": "^4.0.1",
"react-test-renderer": "^16.3.1",
"sass-loader": "^6.0.7",
"sass-resources-loader": "^1.3.3",
"style-loader": "^0.20.3",
"stylelint": "^9.2.0",
"ts-jest": "^22.4.2",
"ts-node": "^5.0.1",
"tslint": "^5.9.1",
"typescript": "^2.8.1",
"webpack": "^4.5.0",
"webpack-cli": "^2.0.14",
"webpack-dev-server": "^3.1.3",
"webpack-notifier": "^1.6.0"
},
"jest": {
"globals": {
"ts-jest": {
"useBabelrc": true
}
},
"moduleNameMapper": {
"\\.(css|scss)$": "identity-obj-proxy"
},
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testPathIgnorePatterns": [
"__snapshots__"
],
"testRegex": "/test/spec.*|(\\.|/)\\.(jsx?|tsx?)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
]
}
}