-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
119 lines (119 loc) · 3.28 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
{
"name": "s-date-range-picker",
"version": "0.3.0",
"description": "A date range picker built with Svelte",
"keywords": [
"svelte",
"rollup",
"date-picker",
"date-range-picker",
"datepicker",
"daterangepicker",
"date-time-picker",
"datetimepicker",
"svelte-components"
],
"browserslist": [
"defaults"
],
"private": false,
"main": "build/js/main.js",
"module": "build/js/main.mjs",
"svelte": "./src/date-range-picker/index.js",
"license": "MIT",
"author": "Jeff Rooks <rooksjj@gmail.com>",
"repository": {
"type": "git",
"url": "https://github.com/onx2/svelte-date-range-picker"
},
"scripts": {
"format": "npx prettier --write src/date-range-picker/**/\"*.{js,svelte}\"",
"lint:js": "eslint --fix src/date-range-picker/**/*.js",
"lint:svelte": "eslint --fix src/date-range-picker/**/*.svelte",
"lint:tests": "cross-env NODE_ENV=test eslint --fix src/date-range-picker/**/*.test.js",
"lint": "yarn lint:js; yarn lint:svelte; yarn lint:tests",
"cleanup": "rimraf ./build",
"test": "rimraf ./coverage; cross-env NODE_ENV=test jest --coverage; jest-coverage-badges",
"prepublishOnly": "yarn format && yarn lint && yarn build",
"serve": "yarn cleanup; cross-env NODE_ENV=development rollup --config --watch",
"build": "yarn cleanup; cross-env NODE_ENV=production rollup --config"
},
"dependencies": {
"date-fns": "2.8.1"
},
"devDependencies": {
"@babel/core": "7.7.5",
"@babel/preset-env": "7.7.6",
"@types/jest": "24.0.23",
"autoprefixer": "^9.7.3",
"babel-jest": "24.9.0",
"chokidar": "3.3.0",
"cross-env": "6.0.3",
"deasync": "0.1.16",
"eslint": "^6.7.2",
"eslint-plugin-jest": "^23.1.1",
"eslint-plugin-svelte3": "^2.7.3",
"husky": "^3.1.0",
"jest": "24.9.0",
"jest-coverage-badges": "^1.1.2",
"node-sass": "^4.13.0",
"prettier": "^1.19.1",
"prettier-plugin-svelte": "^0.7.0",
"rimraf": "3.0.0",
"rollup": "1.27.12",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-bundle-html": "0.2.2",
"rollup-plugin-bundle-size": "^1.0.3",
"rollup-plugin-commonjs": "10.1.0",
"rollup-plugin-livereload": "1.0.4",
"rollup-plugin-node-resolve": "5.2.0",
"rollup-plugin-serve": "1.0.1",
"rollup-plugin-svelte": "5.1.1",
"rollup-plugin-terser": "5.1.3",
"rollup-plugin-typescript2": "0.25.3",
"svelte": "3.16.4",
"svelte-preprocess": "^3.2.6",
"svelte-ts-preprocess": "1.1.3",
"ts-jest": "24.2.0",
"typescript": "3.7.3"
},
"jest": {
"collectCoverageFrom": [
"./src/**/*.{js,ts}",
"!**/*.d.ts"
],
"coverageReporters": [
"json-summary",
"text",
"lcov"
],
"testMatch": [
"<rootDir>/src/**/__tests__/**/*.(j|t)s?(x)",
"<rootDir>/src/**/?(*.)(spec|test).(j|t)s?(x)"
],
"testEnvironment": "jsdom",
"transform": {
"^.+\\.ts$": "ts-jest",
"^.+\\.js$": "babel-jest",
"^.+\\.svelte$": "./svelte-jest.js"
},
"moduleFileExtensions": [
"ts",
"js",
"json",
"node",
"mjs",
"svelte"
],
"globals": {
"ts-jest": {
"tsConfig": "tsconfig.test.json"
}
}
},
"husky": {
"hooks": {
"pre-commit": "yarn format && yarn lint && yarn test"
}
}
}