-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
83 lines (83 loc) · 2.53 KB
/
package.json
File metadata and controls
83 lines (83 loc) · 2.53 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
{
"name": "@clearc2/c2-form",
"version": "3.2.1",
"description": "a react/redux form component",
"repository": {
"type": "git",
"url": "https://github.com/ClearC2/c2-form"
},
"main": "dist/cjs/index.js",
"module": "dist/es/index.js",
"types": "types/index.d.ts",
"publishConfig": {
"access": "public"
},
"scripts": {
"start": "cd example && webpack-dev-server --port 8088 --hot --mode development",
"build": "rimraf dist && npm run build:es && npm run build:cjs && npm run build:types",
"build:es": "NODE_ENV=production babel --extensions .js,.ts,.tsx --ignore '**/__tests__/*' src/ -d dist/es/",
"build:cjs": "NODE_ENV=production BABEL_MODULES=cjs babel --extensions .js,.ts,.tsx --ignore '**/__tests__/*' src/ -d dist/cjs/",
"build:types": "tsc --esModuleInterop --declaration src/useValues.ts --emitDeclarationOnly --declarationDir ./types",
"build:types-test": "tsc --jsx 'react-jsx' --esModuleInterop --declaration src/withThing.tsx --emitDeclarationOnly --declarationDir ./types",
"lint": "eslint",
"test": "jest",
"test:report": "yarn test --coverage",
"cm": "git-cz",
"semantic-release": "semantic-release"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"release": {
"branch": "master",
"extends": "c2-semantic-release",
"npmPublish": true,
"publish": [
"@semantic-release/github",
"@semantic-release/npm"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.js": "eslint --fix",
"test/**/*.js": "eslint --fix"
},
"author": "David Adams",
"license": "ISC",
"devDependencies": {
"@babel/preset-typescript": "^7.18.6",
"@clearc2/c2-react-config": "^8.0.1",
"@reactions/component": "^2.0.2",
"@testing-library/react": "^13.3.0",
"@types/jest": "^28.1.4",
"@types/react": "^18.0.15",
"@types/react-dom": "^18.0.6",
"babel-plugin-module-resolver": "^3.2.0",
"c2-semantic-release": "ClearC2/c2-semantic-release#^2.0.0",
"husky": "^2.5.0",
"immutable": "^3.8.2",
"jest": "^28.1.2",
"jest-environment-jsdom": "^28.1.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-redux": "^5.0.6",
"redux": "^3.7.2",
"redux-immutable": "^4.0.0",
"rimraf": "^2.6.2",
"typescript": "^4.7.4"
},
"peerDependencies": {
"immutable": "^3.0.0",
"react-redux": "^4.0.0 || ^5.0.0"
},
"dependencies": {
"prop-types": "^15.0.0",
"react-fast-compare": "^3.2.0"
}
}