-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
104 lines (104 loc) · 2.72 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
{
"name": "sentence-crafter",
"library": "SentenceCrafter",
"license": "MIT",
"repository": "github:BeameryHQ/sentence-crafter.git",
"version": "1.1.3",
"scripts": {
"build": "webpack --config webpack.config.babel.js",
"release": "webpack --p --config webpack.config.babel.js",
"test": "jest",
"coverage": "jest --coverage",
"ci": "jest --coverage --testResultsProcessor='jest-junit'",
"deploy": "",
"lint": "eslint ./src",
"build-examples": "webpack --config examples/webpack.config.babel.js --progress",
"start": "webpack-dev-server --config examples/webpack.config.live.babel.js"
},
"peerDependencies": {
"react": "~0.14.8 || ^15.0.0",
"react-dom": "~0.14.8 || ^15.0.0"
},
"dependencies": {
"prop-types": "^15.6.0",
"react": "^15.6.2",
"react-cookie": "^1.0.5"
},
"devDependencies": {
"@types/jest": "^21.1.5",
"@types/react": "^16.0.10",
"@types/react-hot-loader": "^3.0.4",
"awesome-typescript-loader": "^3.2.3",
"babel-eslint": "^7.2.2",
"babel-jest": "^19.0.0",
"babel-loader": "^7.0.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"babel-preset-typescript": "^7.0.0-alpha.19",
"chai": "^3.5.0",
"clean-webpack-plugin": "^0.1.16",
"css-loader": "^0.28.0",
"enzyme": "^2.8.2",
"eslint": "^3.19.0",
"eslint-plugin-react": "^6.10.3",
"jest": "^22.1.4",
"jest-junit": "^3.4.1",
"nyc": "^11.4.1",
"react-addons-test-utils": "^15.5.1",
"react-dom": "^15.5.4",
"react-hot-loader": "next",
"react-test-renderer": "^15.5.4",
"style-loader": "^0.16.1",
"ts-jest": "^21.1.3",
"ts-loader": "^2.3.7",
"ts-node": "^4.1.0",
"typescript": "^2.5.3",
"webpack": "^2.4.1",
"webpack-dev-server": "^2.4.5"
},
"nyc": {
"extension": [
".tsx"
],
"require": [
"ts-node/register"
],
"include": [
"src/**/*.ts"
],
"exclude": [
"**/*.test.ts",
"**/*.d.ts"
],
"reporter": [
"lcov"
],
"all": true
},
"jest": {
"modulePaths": [
"./src"
],
"transform": {
".(ts|tsx)": "<rootDir>/node_modules/ts-jest/preprocessor.js",
"^.+\\.(js|jsx)$": "<rootDir>/node_modules/babel-jest",
"^.+\\.css$": "<rootDir>/config/jest/cssTransform.js",
"^(?!.*\\.(js|jsx|css|json)$)": "<rootDir>/config/jest/fileTransform.js"
},
"mapCoverage": true,
"testPathIgnorePatterns": [
"/node_modules/",
"/lib/"
],
"testRegex": "(/test/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"json"
],
"transformIgnorePatterns": [
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx|tsx)$"
]
}
}