-
-
Notifications
You must be signed in to change notification settings - Fork 60
/
Copy pathpackage.json
106 lines (106 loc) · 3.61 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
{
"name": "react-dual-listbox",
"version": "6.0.3",
"description": "A feature-rich dual listbox for React.",
"author": "Jake Zatecky",
"license": "MIT",
"keywords": [
"react",
"dual-listbox",
"duallistbox",
"listbox",
"list box",
"list builder",
"listswap"
],
"repository": {
"type": "git",
"url": "https://github.com/jakezatecky/react-dual-listbox"
},
"bugs": "https://github.com/jakezatecky/react-dual-listbox/issues",
"main": "lib/index.js",
"module": "lib/index.esm.js",
"browser": "lib/index.js",
"type": "module",
"imports": {
"#js/*": "./src/js/*",
"#src/*": "./src/*"
},
"exports": {
".": {
"import": "./lib/index.esm.js",
"require": "./lib/index.js"
},
"./*": "./*"
},
"scripts": {
"build:script": "npm run build:script-umd && npm run build:script-esm",
"build:script-umd": "webpack --env=target=umd",
"build:script-esm": "webpack --env=target=esm",
"build:scss": "sass src/scss/react-dual-listbox.scss lib/react-dual-listbox.css",
"build:style": "npm run build:scss && npm run build:style-autoprefix",
"build:style-autoprefix": "postcss lib/react-dual-listbox.css --use autoprefixer --output lib/react-dual-listbox.css",
"build": "npm run build:script && npm run build:style",
"examples": "webpack serve --config=webpack.config.examples.js",
"format:style": "prettier --write src/scss/**/*.scss examples/src/scss/**/*.scss",
"lint": "npm run lint:script && npm run lint:style",
"lint:script": "eslint src/**/*.{js,jsx} examples/src/**/*.{js,jsx} test/**/*.{js,jsx} *.{js,jsx}",
"lint:style": "stylelint src/scss/**/*.scss examples/src/scss/**/*.scss",
"gh-build": "webpack --config=webpack.config.examples.js --mode=production",
"gh-deploy": "npm run gh-build && bash ./gh-deploy.sh",
"prepublishOnly": "npm run release",
"release": "npm run test && npm run build",
"test": "npm run lint && npm run test:script && npm run test:style-format",
"test:script": "webpack --config=webpack.config.test.js && mocha test-compiled/index.js --exit",
"test:style-format": "prettier --check src/scss/**/*.scss examples/src/scss/**/*.scss"
},
"peerDependencies": {
"react": "^16.8.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": "^10.1.0",
"@testing-library/react": "^15.0.0",
"@testing-library/user-event": "^14.4.3",
"autoprefixer": "^10.4.13",
"babel-loader": "^9.0.0",
"chai": "^5.1.0",
"cross-env": "^7.0.3",
"css-loader": "^7.0.0",
"cssnano": "^7.0.1",
"eslint": "^8.23.0",
"eslint-config-takiyon-react": "^5.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.11.1",
"eslint-plugin-react-hooks": "^4.2.0",
"global-jsdom": "^24.0.0",
"globals": "^15.0.0",
"html-bundler-webpack-plugin": "^3.4.0",
"jsdom": "^24.0.0",
"less": "^4.1.3",
"mocha": "^10.0.0",
"postcss": "^8.4.21",
"postcss-cli": "^11.0.0",
"prettier": "^3.1.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"sass": "^1.58.0",
"sass-loader": "^14.1.0",
"stylelint": "^16.0.2",
"stylelint-config-takiyon": "^4.0.0",
"webpack": "^5.3.2",
"webpack-cli": "^5.0.1",
"webpack-dev-server": "^5.0.0"
},
"dependencies": {
"classnames": "^2.2.5",
"lodash": "^4.17.21",
"prop-types": "^15.5.8"
}
}