-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
74 lines (74 loc) · 2.44 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
{
"name": "@crafts/smart-grid",
"version": "2.0.1",
"private": false,
"main": "dist/cjs/index.js",
"typings": "dist/cjs/index.d.ts",
"module": "dist/esm/index.js",
"homepage": "https://mukuljainx.github.io/smart-grid/",
"repository": {
"type": "git",
"url": "https://github.com/mukuljainx/smart-grid"
},
"files": [
"dist/cjs",
"dist/esm"
],
"author": {
"name": "Mukul Jain",
"email": "[email protected]",
"url": "https://mukuljain.me"
},
"license": "ISC",
"keywords": [
"table",
"grid",
"useTable"
],
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "npm run dev:css --example=$npm_config_example && tsc -m commonjs --outDir examples/$npm_config_example/grid -p tsconfig.json -w",
"build": "rm -rf dist && npm run build:cjs && npm run build:esnext && npm run build:css",
"css": "npm run css:compile && npm run css:prefix && npm run css:end",
"css:compile": "sass src:dist/cjs && sass src:dist/esm",
"css:prefix": "postcss dist/cjs/**/*.css dist/esm/**/*.css --use autoprefixer --replace",
"css:end": "replace-in-file .scss .css 'dist/**/*'",
"build:cjs": "tsc -m commonjs --outDir dist/cjs -p tsconfig.json",
"build:esnext": "tsc -m esnext --outDir dist/esm -p tsconfig.json",
"build:css": "copyfiles src/**/*.css dist/cjs -u=1 && copyfiles src/**/*.css dist/esm -u=1",
"dev:css": "copyfiles src/**/*.css examples/$npm_config_example/grid/ -u=1",
"build:docs": "cd ./docs && npm run build",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
"prettier": "prettier --write \"**/*.{js,jsx,ts,tsx,json}\"",
"preversion": "npm run build"
},
"pre-commit": [
"prettier",
"lint"
],
"devDependencies": {
"@types/react": "^16.9.17",
"@types/react-dom": "^16.9.4",
"@typescript-eslint/eslint-plugin": "^4.28.4",
"@typescript-eslint/parser": "^4.28.4",
"autoprefixer": "^9.7.4",
"copyfiles": "^2.4.1",
"css-loader": "^3.4.2",
"eslint": "^7.31.0",
"eslint-plugin-react": "^7.24.0",
"eslint-plugin-react-hooks": "^4.2.0",
"node-sass": "^8",
"postcss-cli": "^7.1.0",
"pre-commit": "^1.2.2",
"prettier": "^2.3.2",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"replace-in-file": "^5.0.2",
"sass": "^1.25.0",
"typescript": "^3.9.10"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0"
}
}