UNPKG

2.94 kBJSONView Raw
1{
2 "name": "react-sortablejs",
3 "version": "6.1.4",
4 "author": {
5 "name": "Wayne Van Son",
6 "email": "waynevanson@gmail.com"
7 },
8 "repository": {
9 "type": "git",
10 "url": "https://github.com/SortableJS/react-sortablejs.git"
11 },
12 "license": "MIT",
13 "private": false,
14 "files": [
15 "dist"
16 ],
17 "main": "dist/index.js",
18 "types": "dist/index.d.ts",
19 "scripts": {
20 "commit": "cz",
21 "prepublishOnly": "yarn build",
22 "build": "yarn build:parcel",
23 "build:parcel": "parcel build ./src/index.ts",
24 "serve": "npm-run-all --parallel serve:*",
25 "serve:parcel": "parcel watch ./src/index.ts",
26 "format": "npm-run-all format:*",
27 "format:eslint": "yarn lint --fix",
28 "format:prettier": "prettier --write \"src/**.{js,ts}\"",
29 "lint": "eslint \"src/**.{js,ts}\"",
30 "phoenix": "rm -rf ./node_modules && rm -f yarn.lock && yarn install --prefer-online"
31 },
32 "peerDependencies": {
33 "@types/sortablejs": "1",
34 "react": ">=16.9.0",
35 "react-dom": ">=16.9.0",
36 "sortablejs": "1"
37 },
38 "dependencies": {
39 "classnames": "2.3.1",
40 "tiny-invariant": "1.2.0"
41 },
42 "devDependencies": {
43 "@commitlint/cli": "11",
44 "@commitlint/config-conventional": "11",
45 "@parcel/packager-ts": "2.6.0",
46 "@parcel/transformer-typescript-types": "2.6.0",
47 "@semantic-release/changelog": "5",
48 "@semantic-release/git": "9",
49 "@types/jest": "^26.0.14",
50 "@types/node": "14.11.2",
51 "@types/react": ">=16.9.0",
52 "@types/react-dom": ">=16.9.0",
53 "@types/sortablejs": "1",
54 "@typescript-eslint/eslint-plugin": "4.33",
55 "@typescript-eslint/parser": "4.33",
56 "commitizen": "4",
57 "cz-conventional-changelog": "3",
58 "eslint": "7",
59 "eslint-plugin-react": "7",
60 "husky": "4.3",
61 "jest": "26",
62 "lint-staged": "10",
63 "npm-run-all": "4",
64 "parcel": "2",
65 "prettier": "2.5",
66 "react": ">=16.9.0",
67 "react-dom": ">=16.9.0",
68 "semantic-release": "17",
69 "sortablejs": "1",
70 "ts-jest": "26",
71 "ts-node": "9",
72 "typescript": "4"
73 },
74 "commitlint": {
75 "extends": [
76 "@commitlint/config-conventional"
77 ]
78 },
79 "config": {
80 "commitizen": {
81 "path": "./node_modules/cz-conventional-changelog"
82 }
83 },
84 "husky": {
85 "hooks": {
86 "commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
87 "pre-commit": "yarn lint-staged",
88 "pre-push": "yarn build"
89 }
90 },
91 "lint-staged": {
92 "*.{ts}": "yarn format"
93 },
94 "release": {
95 "plugins": [
96 "@semantic-release/commit-analyzer",
97 "@semantic-release/release-notes-generator",
98 "@semantic-release/changelog",
99 "@semantic-release/github",
100 "@semantic-release/npm",
101 "@semantic-release/git",
102 [
103 "@semantic-release/git",
104 {
105 "assets": [
106 "package.json"
107 ],
108 "message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
109 }
110 ]
111 ]
112 }
113}