-
Notifications
You must be signed in to change notification settings - Fork 210
/
package.json
93 lines (93 loc) · 3.68 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
{
"name": "react-checkbox-tree",
"version": "1.8.0",
"description": "A simple and elegant checkbox tree for React.",
"author": "Jake Zatecky",
"license": "MIT",
"types": "src/index.d.ts",
"keywords": [
"react",
"checkbox",
"tree"
],
"repository": {
"type": "git",
"url": "https://github.com/jakezatecky/react-checkbox-tree"
},
"homepage": "https://jakezatecky.github.io/react-checkbox-tree",
"bugs": "https://github.com/jakezatecky/react-checkbox-tree/issues",
"main": "lib/index.js",
"browser": "lib/index.browser.js",
"scripts": {
"build-less": "lessc src/less/react-checkbox-tree.less .css-compare/less.css",
"build-script": "npm run build-script-node && npm run build-script-web",
"build-script-node": "webpack --env=target=node",
"build-script-web": "webpack --env=target=web",
"build-sass": "sass src/scss/react-checkbox-tree.scss lib/react-checkbox-tree.css && cp lib/react-checkbox-tree.css .css-compare/scss.css",
"build-style": "npm run build-less && npm run build-sass && npm run build-style-autoprefix",
"build-style-autoprefix": "postcss lib/react-checkbox-tree.css --use autoprefixer --output lib/react-checkbox-tree.css",
"build": "npm run build-script && npm run build-style",
"examples": "webpack serve --config=webpack.config.test.js",
"gh-build": "webpack --config=webpack.config.test.js --mode=production",
"gh-deploy": "npm run gh-build && bash ./gh-deploy.sh",
"prepublishOnly": "npm run release",
"release": "npm run test && npm run build && npm run test-style-equivalence",
"test": "npm run test-script && npm run test-style",
"test-script": "npm run test-script-format && npm run test-script-mocha",
"test-script-format": "eslint src/**/*.{js,jsx} examples/src/**/*.{js,jsx} test/**/*.{js,jsx} *.{js,jsx}",
"test-script-mocha": "cross-env NODE_PATH=./src mocha test/**/*.{js,jsx} --exit",
"test-style": "stylelint src/scss/**/*.scss examples/src/scss/**/*.scss",
"test-style-equivalence": "postcss .css-compare/less.css --output .css-compare/less.css && postcss .css-compare/scss.css --output .css-compare/scss.css && cmp .css-compare/less.css .css-compare/scss.css"
},
"peerDependencies": {
"react": "^15.3.0 || ^16.0.0 || ^17.0.0 || ^18.0.0"
},
"devDependencies": {
"@babel/core": "^7.0.0",
"@babel/eslint-parser": "^7.13.10",
"@babel/preset-env": "^7.0.0",
"@babel/preset-react": "^7.0.0",
"@babel/register": "^7.0.0",
"@testing-library/dom": "^9.0.0",
"@testing-library/react": "^14.0.0",
"@testing-library/user-event": "^14.4.3",
"@types/react": "^18.0.18",
"autoprefixer": "^10.4.13",
"babel-loader": "^9.0.0",
"browser-sync": "^2.18.6",
"chai": "^4.0.0",
"cross-env": "^7.0.3",
"css-loader": "^6.7.3",
"cssnano": "^6.0.0",
"eslint": "^8.23.0",
"eslint-config-takiyon-react": "^3.0.0",
"eslint-import-resolver-webpack": "^0.13.0",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-jsx-a11y": "^6.0.2",
"eslint-plugin-react": "^7.10.0",
"eslint-plugin-react-hooks": "^4.2.0",
"global-jsdom": "^9.0.1",
"html-bundler-webpack-plugin": "^2.14.0",
"jsdom": "^22.0.0",
"less": "^4.1.3",
"mocha": "^10.0.0",
"postcss": "^8.4.21",
"postcss-cli": "^10.1.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"sass": "^1.58.2",
"sass-loader": "^13.2.0",
"stylelint": "^15.1.0",
"stylelint-config-takiyon": "^2.0.4",
"webpack": "^5.3.2",
"webpack-cli": "^5.0.1",
"webpack-dev-server": "^4.11.1",
"webpack-stream": "^7.0.0"
},
"dependencies": {
"classnames": "^2.2.5",
"lodash": "^4.17.10",
"nanoid": "^3.0.0",
"prop-types": "^15.5.8"
}
}