-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
110 lines (110 loc) · 4.4 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
{
"name": "persian-datepicker-next-version",
"description": "Persian Datepicker Next version",
"version": "0.0.1",
"license": "MIT",
"author": "babakhani.reza@gmail.com",
"homepage": "",
"repository": "",
"devDependencies": {
"cypress": "^10.3.1",
"@commitlint/cli": "^17.0.3",
"@commitlint/config-conventional": "^17.0.3",
"autoprefixer": "^10.4.7",
"babel-eslint": "^10.0.3",
"eslint": "^8.20.0",
"eslint-config-standard": "^17.0.0",
"eslint-config-stylelint": "^15.1.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^6.0.0",
"eslint-plugin-react": "^7.30.1",
"eslint-plugin-standard": "^4.1.0",
"eslint-plugin-svelte3": "^4.0.0",
"eslint-plugin-vue": "^9.3.0",
"husky": "^8.0.1",
"kill-port": "^2.0.1",
"node-sass": "^7.0.1",
"npm-run-all": "^4.1.5",
"prettier": "^2.7.1",
"rollup": "^2.77.1",
"rollup-plugin-banner": "^0.2.1",
"rollup-plugin-cleanup": "^3.2.1",
"rollup-plugin-commonjs": "^10.0.0",
"rollup-plugin-copy": "^3.4.0",
"rollup-plugin-execute": "^1.1.1",
"rollup-plugin-livereload": "^2.0.5",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-postcss": "^4.0.2",
"postcss": "^8.0.0",
"postcss-cli": "^8.1.0",
"rollup-plugin-run": "^1.1.0",
"rollup-plugin-svelte": "6.1.1",
"rollup-plugin-terser": "^7.0.2",
"sirv-cli": "^2.0.2",
"stylelint": "^14.9.1",
"svelte": "^3.49.0",
"svelte-adapter": "https://github.com/babakhani/svelte-adapter",
"svelte-preprocess": "^4.10.7",
"vuepress": "^1.9.7"
},
"scripts": {
"clear": "kill-port --port 8000,8001,8002,8003,8004",
"svelte:build": "rollup -c ./adapter/rollup.svelte.js",
"build": "npm run lint; npm-run-all -p svelte:build vue:build react:build iife:build",
"dev": "rollup -c ./adapter/rollup.svelte.js -w",
"vue:install": "cd ./demo/vue; npm install; cd ../../",
"vue:build": "rollup -c ./adapter/rollup.vue.js",
"vue:dev": "rollup -c ./adapter/rollup.vue.js -w",
"vue:serve": "cd ./demo/vue; npm run dev;",
"vue": "npm-run-all -p vue:serve vue:dev",
"vue:install": "cd ./demo/vue2; npm install; cd ../../",
"vue2:build": "rollup -c ./adapter/rollup.vue2.js",
"vue2:dev": "rollup -c ./adapter/rollup.vue2.js -w",
"vue2:serve": "cd ./demo/vue2; npm run serve; cd ../../",
"vue2": "npm-run-all -p vue2:serve vue2:dev",
"react:install": "cd ./demo/react-demo; npm install; cd ../../",
"react:build": "rollup -c ./adapter/rollup.react.js",
"react:dev": "rollup -c ./adapter/rollup.react.js -w",
"react:serve": "cd ./demo/react-demo ; npm start & cd ../../",
"react:aliases": "ln -f dist/pwt-datepicker-react.js ./demo/react-demo/src/pwt-datepicker-react.js; ln -f dist/pwt-datepicker.css ./demo/react-demo/src/pwt-datepicker.css",
"react": "npm-run-all react:build -p react:dev react:aliases react:serve",
"iife:build": "rollup -c ./adapter/rollup.iife.js",
"iife:dev": "rollup -c ./adapter/rollup.iife.js -w",
"iife:serve": "sirv ./demo/js --single --dev --port 8001",
"iife:aliases": "ln -f dist/pwt-datepicker-iife.js ./demo/js/pwt-datepicker-iife.js ; ln -f dist/pwt-datepicker.css ./demo/js/pwt-datepicker.css",
"iife": "npm-run-all iife:build -p iife:dev iife:aliases iife:serve",
"start": "sirv dist --single --port 8000",
"start:dev": "sirv dist --single --dev --port 8000",
"docs:dev": "vuepress dev docs",
"docs:build": "vuepress build docs",
"prettier": "prettier **/*.{js,vue,svelte} --list-different",
"prettier:fix": "prettier **/*.{js,vue,svelte} --write",
"lint": "npm run lint:eslint; npm run lint:style",
"lint:eslint": "eslint -c .eslintrc.js ./src/**.js ./src/**.svelte",
"lint:style": "stylelint **/*.{css,html,js,md,mjs,svelte,ts}",
"cypress": "cypress open --config-file ./cypress.json",
"tests": "cypress run --config-file ./cypress.json"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint",
"pre-push": "npm run lint; npm run tests",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"prettier": {
"trailingComma": "es5",
"tabWidth": 2,
"semi": false,
"svelteSortOrder": "markup-scripts-styles",
"svelteStrictMode": true,
"singleQuote": true
},
"dependencies": {
"lodash": "^4.17.21",
"persian-date": "^1.1.0",
"svelte-swipe": "^1.8.2",
"swiper": "^8.3.2"
}
}