-
Notifications
You must be signed in to change notification settings - Fork 164
/
package.json
104 lines (104 loc) · 3.11 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
{
"name": "react-base-table",
"version": "1.13.5",
"description": "a react table component to display large data set with high performance and flexibility",
"main": "lib/index.js",
"module": "es/index.js",
"types": "types/index.d.ts",
"files": [
"lib/",
"es/",
"types/",
"styles.css"
],
"author": "Neo Nie <nihgwu@live.com>",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/Autodesk/react-base-table.git"
},
"scripts": {
"start": "cd website && npm start",
"deploy": "cd website && npm run deploy",
"lint": "eslint ./src/**/*.js",
"clean": "rimraf lib es styles.css",
"build:js": "cross-env NODE_ENV=production babel src -d lib --ignore '**/*.spec.js','__snapshots__' --copy-files --source-maps",
"build:es": "cross-env BABEL_ENV=es NODE_ENV=production babel src -d es --ignore '**/*.spec.js','__snapshots__' --copy-files --source-maps",
"build:css": "node-sass src/_BaseTable.scss ./styles.css --output-style expanded",
"build": "npm run build:js && npm run build:es && npm run build:css",
"format": "prettier --write 'src/**/*.{js,scss}'",
"prebuild": "npm run clean",
"precommit": "lint-staged",
"prepush": "npm run test",
"prepublish": "npm run build && npm run test",
"test": "jest"
},
"lint-staged": {
"packages/**/*.scss": [
"prettier --write",
"git add"
],
"packages/**/*.js": [
"prettier --write",
"eslint -c .eslintrc",
"git add"
]
},
"dependencies": {
"@babel/runtime": "^7.0.0",
"classnames": "^2.2.5",
"memoize-one": "^5.0.0",
"prop-types": "^15.7.0",
"react-virtualized-auto-sizer": "^1.0.2",
"react-window": "^1.8.2"
},
"peerDependencies": {
"react": "^16.0.0 || ^17.0.0",
"react-dom": "^16.0.0 || ^17.0.0"
},
"devDependencies": {
"@babel/cli": "^7.0.0",
"@babel/core": "^7.0.0",
"@babel/plugin-proposal-class-properties": "^7.0.0",
"@babel/plugin-proposal-object-rest-spread": "^7.0.0",
"@babel/plugin-transform-runtime": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"@babel/preset-react": "^7.0.0",
"@types/react": "^16.9.46",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^9.0.0",
"babel-jest": "^23.4.2",
"babel-plugin-syntax-trailing-function-commas": "^6.22.0",
"cross-env": "^5.2.0",
"eslint": "^5.6.0",
"eslint-config-prettier": "^3.0.1",
"eslint-config-react-app": "^3.0.8",
"eslint-plugin-flowtype": "^3.4.2",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-jsx-a11y": "^6.1.1",
"eslint-plugin-prettier": "^2.6.2",
"eslint-plugin-react": "^7.11.1",
"husky": "^0.14.3",
"jest": "^23.5.0",
"lerna": "^3.2.1",
"lint-staged": "^7.2.2",
"node-sass": "^4.9.3",
"prettier": "^1.14.2",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-test-renderer": "^17.0.2",
"rimraf": "^2.6.2"
},
"jest": {
"roots": [
"<rootDir>/src"
],
"testRegex": ".*.spec\\.js$",
"transform": {
"^.+\\.jsx?$": "babel-jest"
},
"transformIgnorePatterns": [
"<rootDir>/node_modules/"
]
}
}