/
package.json
71 lines (71 loc) · 2.13 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
{
"name": "schematik-forms",
"version": "1.0.1",
"description": "Schematik Forms is an elegant form builder for React.",
"main": "./lib/index.js",
"author": "Deloitte Digital Australia (http://deloittedigital.com.au)",
"license": "BSD-3-Clause",
"scripts": {
"clean": "rimraf lib && rimraf dist",
"start": "cross-env NODE_ENV=development webpack-dev-server --open",
"build": "cross-env NODE_ENV=production yarn clean && babel -s -d lib src --ignore *.spec.js --copy-files",
"lint": "eslint src/",
"test": "yarn lint && yarn test:unit && yarn test:cypress",
"test:unit": "cross-env NODE_ENV=test jest",
"test:cypress": "concurrently --kill-others \"yarn start\" \"cypress run\" ",
"cypress:open": "concurrently --kill-others \"yarn start\" \"cypress open\"",
"docs": "doctoc README.md --notitle"
},
"devDependencies": {
"@babel/cli": "^7.1.2",
"@babel/core": "^7.1.2",
"@babel/plugin-transform-for-of": "^7.4.3",
"@deloitte-digital-au/babel-preset-app-react": "^2.0.4",
"@deloitte-digital-au/eslint-config-react": "^3.4.0",
"@deloitte-digital-au/webpack-config-react": "^2.0.4",
"babel-eslint": "^10.0.1",
"babel-jest": "^24.7.1",
"babel-loader": "^8.0.4",
"babel-polyfill": "^6.26.0",
"concurrently": "^3.6.0",
"cross-env": "^5.2.0",
"cypress": "^3.2.0",
"doctoc": "^1.3.1",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.3.0",
"eslint": "^4.19.1",
"formik": "^1.0.2",
"html-webpack-plugin": "^3.2.0",
"jest": "^24.7.1",
"react": "^16.4.1",
"react-dom": "^16.4.1",
"react-router-dom": "^5.0.0",
"rimraf": "^2.6.2",
"webpack": "4"
},
"dependencies": {
"lodash.clonedeep": "^4.5.0",
"lodash.unset": "^4.5.2"
},
"peerDependencies": {
"formik": ">=1.0.2 <2.0.0",
"react": ">=15.0.0 <17.0.0"
},
"files": [
"LICENCE.md",
"CHANGELOG.md",
"README.md",
"lib/"
],
"jest": {
"setupFiles": [
"<rootDir>/test/setupTests.js"
],
"collectCoverageFrom": [
"src/**/*.{js,jsx}"
],
"testMatch": [
"<rootDir>/test/**/?(*.)(spec|test).js?(x)"
]
}
}