-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
73 lines (73 loc) · 2.34 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
{
"name": "@moxy/react-lib-template",
"version": "0.0.0",
"description": "A template that aims to make the implementation of React component packages easier and more methodic.",
"main": "lib/index.js",
"module": "es/index.js",
"files": [
"lib",
"es",
"dist"
],
"homepage": "https://github.com/moxystudio/react-lib-template#readme",
"author": "Rui Monteiro <[email protected]>",
"license": "MIT",
"keywords": [
"template"
],
"repository": {
"type": "git",
"url": "git+https://github.com/moxystudio/react-lib-template.git"
},
"bugs": {
"url": "https://github.com/moxystudio/react-lib-template/issues"
},
"scripts": {
"dev": "onchange -i -k \"src\" -- npm run build",
"build:css": "rimraf dist && postcss src/styles/**/*.css --base src/styles --dir dist",
"build:commonjs": "cross-env BABEL_ENV=commonjs babel src -d lib --delete-dir-on-start",
"build:es": "cross-env BABEL_ENV=es babel src -d es --delete-dir-on-start",
"build": "npm run build:commonjs && npm run build:es && npm run build:css",
"test": "jest",
"lint": "eslint --ignore-path .gitignore .",
"prerelease": "npm t && npm run lint && npm run build",
"release": "standard-version",
"postrelease": "git push --follow-tags origin HEAD && npm publish"
},
"peerDependencies": {
"react": ">=16.8.0 <18",
"react-dom": ">=16.8.0 <18"
},
"dependencies": {
"classnames": "^2.2.6",
"prop-types": "^15.7.2"
},
"devDependencies": {
"@babel/cli": "^7.13.10",
"@babel/core": "^7.13.10",
"@commitlint/config-conventional": "^12.0.1",
"@moxy/babel-preset": "^3.3.1",
"@moxy/eslint-config-babel": "^13.0.3",
"@moxy/eslint-config-base": "^13.0.3",
"@moxy/eslint-config-jest": "^13.0.3",
"@moxy/eslint-config-react": "^13.0.3",
"@moxy/jest-config-base": "^5.2.0",
"@moxy/jest-config-testing-library": "^5.2.0",
"@moxy/jest-config-web": "^5.2.0",
"@moxy/postcss-preset": "^4.5.2",
"@testing-library/react": "^10.4.9",
"commitlint": "^12.0.1",
"cross-env": "^7.0.3",
"eslint": "^7.22.0",
"husky": "^4.3.8",
"jest": "^26.6.3",
"lint-staged": "^10.5.4",
"onchange": "^7.1.0",
"postcss": "^8.2.8",
"postcss-cli": "^8.3.1",
"react": "^17.0.0",
"react-dom": "^17.0.0",
"rimraf": "^3.0.2",
"standard-version": "^9.1.1"
}
}