-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
124 lines (124 loc) · 4.06 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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
{
"name": "@tenon-io/tenon-ui",
"version": "1.1.1",
"description": "Tenon-ui components library",
"contributors": [
"Karl Groves <[email protected]>",
"Almero Steyn <[email protected]>",
"Job van Achterberg <[email protected]>"
],
"repository": {
"type": "git",
"url": "[email protected]:tenon-io/tenon-ui.git"
},
"bugs": {
"url": "https://tenon1.atlassian.net/secure/RapidBoard.jspa"
},
"license": "MIT",
"main": "lib/index.js",
"module": "es/index.js",
"files": [
"src/css",
"es",
"lib",
"umd"
],
"scripts": {
"build-css": "node-sass-chokidar --include-path ./src --include-path ./node_modules src/ -o src/",
"watch-css": "npm run build-css && node-sass-chokidar --include-path ./src --include-path ./node_modules src/ -o src/ --watch --recursive",
"build": "npm-run-all lint lint-demo build-css build-js clean-deploy",
"build-js": "nwb build-react-component --copy-files ",
"clean": "nwb clean-module && nwb clean-demo",
"clean-deploy": "rimraf {es,lib}/modules/**/{__tests__,__mocks__}",
"start": "npm-run-all -p watch-css start-js",
"start-js": "nwb serve-react-demo",
"test": "node scripts/test.js --env=jsdom --coverage",
"watch": "node scripts/test.js --env=jsdom",
"format-src": "prettier --write src/**/*.{js,scss}",
"format-demo": "prettier --write demo/**/*.js !demo/dist/**",
"format-www": "prettier --write www/**/*.{js,mdx} !www/.cache/** !www/public/**",
"format": "npm-run-all format-src format-demo format-www",
"lint": "eslint *.js src",
"lint-demo": "eslint *.js demo"
},
"dependencies": {
"classnames": "2.2.6",
"lodash.isequal": "4.5.0",
"memoize-one": "4.0.0",
"uuid": "3.3.2",
"vanilla-framework": "1.8.0"
},
"peerDependencies": {
"react": "^16.3.x"
},
"devDependencies": {
"@reach/router": "1.1.1",
"@tenon-io/tenon-codeblock": "1.0.0-RC.2",
"babel-core": "6.26.0",
"babel-eslint": "7.2.3",
"babel-jest": "20.0.3",
"babel-preset-react-app": "^3.1.1",
"eslint": "4.10.0",
"eslint-loader": "1.9.0",
"eslint-plugin-flowtype": "2.39.1",
"eslint-plugin-import": "2.8.0",
"eslint-plugin-jsx-a11y": "6.1.1",
"eslint-plugin-react": "7.4.0",
"i18next": "11.5.0",
"i18next-browser-languagedetector": "2.2.3",
"i18next-xhr-backend": "1.5.1",
"jest": "22.1.4",
"jest-dom": "1.11.0",
"node-sass-chokidar": "1.3.3",
"npm-run-all": "4.1.5",
"nwb": "0.22.0",
"prettier": "1.15.2",
"prop-types": "15.6.2",
"react": "16.6.3",
"react-dom": "16.6.3",
"react-i18next": "7.10.1",
"react-loadable": "5.5.0",
"react-testing-library": "4.1.5",
"rimraf": "^2.6.2"
},
"jest": {
"collectCoverageFrom": [
"src/modules/**/*.{js,jsx}"
],
"setupFiles": [
"<rootDir>/config/polyfills.js"
],
"testMatch": [
"<rootDir>/src/modules/**/__tests__/**/*.js?(x)",
"<rootDir>/src/modules/**/?(*.)(spec|test).js?(x)"
],
"testEnvironment": "node",
"testURL": "http://localhost",
"transform": {
"^.+\\.(js|jsx)$": "<rootDir>/node_modules/babel-jest",
"^.+\\.css$": "<rootDir>/config/jest/cssTransform.js",
"^(?!.*\\.(js|jsx|css|json)$)": "<rootDir>/config/jest/fileTransform.js"
},
"transformIgnorePatterns": [
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx)$"
],
"moduleNameMapper": {
"^react-native$": "react-native-web"
},
"moduleFileExtensions": [
"web.js",
"js",
"json",
"web.jsx",
"jsx"
]
},
"keywords": [
"react-component"
],
"babel": {
"presets": [
"react-app"
]
}
}