-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
134 lines (134 loc) · 4.42 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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
{
"name": "lineupjsx",
"description": "LineUp is an interactive technique designed to create, visualize and explore rankings of items based on a set of heterogeneous attributes.",
"version": "4.6.0",
"author": {
"name": "Samuel Gratzl",
"email": "sam@sgratzl.com",
"url": "https://www.sgratzl.com"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/lineupjs/lineupjsx/issues"
},
"homepage": "https://lineup.js.org",
"repository": {
"type": "git",
"url": "https://github.com/lineupjs/lineupjsx.git"
},
"global": "LineUpJS",
"main": "build/LineUpJSx.js",
"unpkg": "build/LineUpJSx.js",
"module": "build/src/index.js",
"types": "build/src/index.d.ts",
"exports": {
".": {
"import": "./build/src/index.js",
"require": "./build/LineUpJSx.js",
"style": "./build/LineUpJSx.css",
"sass": "./src/style.scss",
"types": "./build/src/index.d.ts"
},
"./*": "./build/src/*.js",
"./.pnp.cjs": "./.pnp.cjs",
"./build/*": "./build/*",
"./src/*": "./src/*"
},
"styles": "build/LineUpJSx.css",
"sideEffects": [
"*.scss",
"*.css"
],
"browserslist": [
"Firefox ESR",
"last 2 Firefox versions",
"last 2 Chrome versions"
],
"files": [
"build",
"src",
"!build/tests",
"!build/demo"
],
"scripts": {
"clean": "rimraf build dist docs \"*.tgz\" && npm run clean:compile",
"clean:compile": "rimraf build/src \"build/*.tsbuildinfo\" \"*.tsbuildinfo\" ",
"compile": "tsc -b ./tsconfig.json",
"compile:dev": "tsc -b ./tsconfig.dev.json",
"fix": "npm run eslint:fix && npm run prettier:write && npm run stylelint:fix",
"prettier:write": "prettier \"*\" \"*/**\" --write",
"prettier": "prettier \"*\" \"*/**\" --check",
"eslint": "eslint src --ext .ts,.tsx",
"eslint:fix": "npm run eslint -- --fix",
"stylelint": "stylelint \"src/**/*.scss\"",
"stylelint:fix": "npm run stylelint -- --fix",
"lint": "npm run eslint && npm run prettier && npm run stylelint",
"docs": "npm run clean:compile && typedoc --tsconfig tsconfig.dev.json --out ./docs/ src tsd.d.ts",
"test": "jest --passWithNoTests --detectOpenHandles --forceExit",
"test:watch": "npm run test -- --watch",
"test:coverage": "npm run test -- --coverage",
"build:dev": "webpack --mode development --devtool source-map",
"build": "webpack --mode production --devtool source-map",
"dev": "npm run clean && npm run compile:dev && npm run build:dev",
"watch": "webpack --mode development --watch --devtool source-map",
"start": "webpack serve --mode development --devtool source-map",
"prepare": "echo 'dummy prepare since prepack has no dev dependencies'",
"prepack": "npm run clean && npm run compile && npm run build"
},
"devDependencies": {
"@types/jest": "^28.1.6",
"@types/lodash": "4.14.182",
"@types/node": "^18.0.6",
"@typescript-eslint/eslint-plugin": "^5.30.7",
"@typescript-eslint/parser": "^5.30.7",
"@yarnpkg/sdks": "^2.6.2",
"css-loader": "^6.7.1",
"eslint": "^8.20.0",
"eslint-config-prettier": "^8.5.0",
"eslint-config-react-app": "^7.0.1",
"eslint-plugin-flowtype": "^8.0.3",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jsx-a11y": "^6.6.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.30.1",
"eslint-plugin-react-hooks": "^4.6.0",
"file-loader": "^6.2.0",
"font-awesome": "^4.7.0",
"fork-ts-checker-webpack-plugin": "^7.2.13",
"jest": "^28.1.3",
"jest-environment-jsdom": "^28.1.3",
"mini-css-extract-plugin": "^2.6.1",
"mkdirp": "^1.0.4",
"mocha-junit-reporter": "^2.0.2",
"postcss": "^8.4.14",
"prettier": "^2.7.1",
"rimraf": "^3.0.2",
"sass": "^1.54.0",
"sass-loader": "^13.0.2",
"style-loader": "^3.3.1",
"stylelint": "^14.9.1",
"stylelint-config-prettier-scss": "^0.0.1",
"stylelint-config-standard-scss": "^5.0.0",
"stylelint-prettier": "^2.0.0",
"stylelint-scss": "^4.3.0",
"thread-loader": "^3.0.4",
"ts-jest": "^28.0.7",
"ts-loader": "^9.3.1",
"typedoc": "^0.23.9",
"typescript": "^4.7.4",
"url-loader": "^4.1.1",
"webpack": "^5.74.0",
"webpack-cli": "^4.10.0",
"webpack-dev-server": "^4.9.3"
},
"peerDependencies": {
"react": "^18",
"react-dom": "^18"
},
"dependencies": {
"@types/react": "^18.0.15",
"@types/react-dom": "^18.0.6",
"lineupjs": "~4.6.2",
"tslib": "^2.4.0"
}
}