/
package.json
109 lines (109 loc) · 3.31 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
{
"name": "@buildlyio/freyja-react",
"version": "0.1.4",
"repository": {
"type": "git",
"url": "git+https://github.com/buildlyio/freyja-react.git"
},
"description": "UI component library built using the React framework",
"main": "dist/freyja.bundle.js",
"devDependencies": {
"@babel/cli": "^7.2.3",
"@babel/core": "^7.2.2",
"@babel/preset-env": "^7.3.1",
"@babel/preset-react": "^7.0.0",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^23.6.0",
"babel-loader": "^8.0.5",
"babel-polyfill": "^6.26.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"css-loader": "^2.1.1",
"enzyme": "^3.8.0",
"enzyme-adapter-react-16": "^1.8.0",
"enzyme-to-json": "^3.3.5",
"file-loader": "^3.0.1",
"html-webpack-plugin": "^3.2.0",
"image-webpack-loader": "^4.6.0",
"jest": "^23.6.0",
"jest-styled-components": "^6.3.1",
"polished": "^3.2.0",
"raw-loader": "^2.0.0",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-highlight": "^0.12.0",
"react-styleguidist": "^9.0.8",
"react-svg-inline": "^2.1.1",
"serve": "^11.0.0",
"style-loader": "^0.23.1",
"styled-components": "^4.2.0",
"webpack": "^4.29.0",
"webpack-cli": "^3.2.1"
},
"peerDependencies": {
"polished": "^3.2.0",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"styled-components": "^4.2.0"
},
"scripts": {
"start": "webpack-dev-server --mode development",
"test-coverage": "jest --coverage",
"test": "jest",
"test-update": "jest --updateSnapshot",
"serve": "serve -s dist",
"serve-prod": "serve -s showcase",
"build": "webpack --mode development",
"build-prod": "webpack --mode production",
"build-freyja": "rm -rf ./dist && webpack --mode production --config webpack.lib.config.js",
"styleguidist": "npx styleguidist build && npx styleguidist server",
"showcase": "npm run build-prod && npm run serve-prod",
"cleanup": "rm -rf ./dist && rm -rf ./showcase && rm -rf ./node_modules"
},
"jest": {
"moduleNameMapper": {
"\\.(css|less|scss)$": "<rootDir>/__mocks__/styleMock.js",
"\\.(gif|ttf|eot|svg)$": "<rootDir>/__mocks__/fileMock.js",
"freyja/Menu": "<rootDir>/lib/src/Menu",
"freyja/Button": "<rootDir>/lib/src/Button",
"freyja/Card": "<rootDir>/lib/src/Card",
"freyja/ContentSwitcher": "<rootDir>/lib/src/ContentSwitcher",
"freyja/TextField": "<rootDir>/lib/src/TextField",
"freyja/Table": "<rootDir>/lib/src/Table",
"freyja/Toggle": "<rootDir>/lib/src/Toggle",
"freyja/InputField": "<rootDir>/lib/src/InputField",
"freyja/InlineEditor": "<rootDir>/lib/src/InlineEditor",
"theme": "<rootDir>/lib/theme"
},
"moduleDirectories": [
"node_modules",
"<rootDir>/src",
"src",
"<rootDir>",
"<rootDir>/lib/theme"
],
"setupFiles": [
"./src/setupTests.js"
],
"snapshotSerializers": [
"enzyme-to-json/serializer"
]
},
"keywords": [
"Freyja",
"React",
"Midgard",
"UI",
"Library"
],
"author": "Andrew Shortall",
"license": "ISC",
"dependencies": {},
"bugs": {
"url": "https://github.com/buildlyio/freyja-react/issues"
},
"homepage": "https://github.com/buildlyio/freyja-react#readme",
"directories": {
"lib": "lib"
}
}