forked from qodesmith/datepicker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
77 lines (77 loc) · 2.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
{
"name": "js-datepicker",
"version": "4.6.6",
"description": "Get a date with JavaScript! A datepicker with no dependencies.",
"main": "dist/datepicker.min.js",
"scripts": {
"build": "webpack --mode production --env.prod",
"test": "jest",
"start": "webpack-dev-server --mode development --env.dev --progress"
},
"_jest_explanation": {
"moduleNameMapper": {
"url": "https://jestjs.io/docs/en/webpack#handling-static-assets",
"notes": "This mocks the require statement for the less file at the top of datepicker.js so that the tests don't fail."
},
"transform": {
"url": "https://jestjs.io/docs/en/webpack#mocking-css-modules",
"notes": "I'm not using CSS modules. Rather, in the example show in the url above, it shows this is the way to have babel transpile the things. You DON'T need to install jest-babel, it's part of the Jest core now."
},
"testRegex": {
"url": "https://jest-bot.github.io/jest/docs/configuration.html#testregex-string",
"notes": "Just the `*.test.js` files in the `__tests__` directory."
}
},
"jest": {
"moduleNameMapper": {
"\\.less$": "<rootDir>/__mocks__/lessMock.js"
},
"transform": {
"^.+\\.js$": "babel-jest"
},
"testRegex": "(/__tests__/)*.test.js"
},
"keywords": [
"datepicker",
"date range picker",
"date range",
"date range calendar",
"date picker",
"date",
"picker",
"calendar",
"javascript",
"vanilla"
],
"author": "Qodesmith",
"email": "[email protected]",
"repository": {
"type": "git",
"url": "https://github.com/qodesmith/datepicker"
},
"browserslist": [
"last 2 versions",
"ie >= 9"
],
"license": "MIT",
"devDependencies": {
"@babel/core": "^7.5.4",
"@babel/preset-env": "^7.5.4",
"autoprefixer": "^9.6.1",
"babel-loader": "^8.0.5",
"core-js": "^3.1.4",
"css-loader": "^3.0.0",
"cssnano": "^4.1.10",
"html-webpack-plugin": "^3.2.0",
"jest": "^24.8.0",
"less": "^3.9.0",
"less-loader": "^5.0.0",
"mini-css-extract-plugin": "^0.7.0",
"postcss-loader": "^3.0.0",
"regenerator-runtime": "^0.13.2",
"terser-webpack-plugin": "^1.3.0",
"webpack": "^4.35.3",
"webpack-cli": "^3.3.5",
"webpack-dev-server": "^3.7.2"
}
}