-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
executable file
·98 lines (98 loc) · 2.84 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
{
"name": "embeddable-widget",
"version": "0.0.1",
"description": "Embeddable widget made for a Last minute test",
"main": "index.js",
"scripts": {
"start": "webpack-dev-server --port 9000 --inline --progress --profile --colors --watch --content-base src/ --mode development",
"build": "webpack --config webpack.config.js --mode production",
"build.prod": "webpack --config webpack.config.js --env.prod",
"build.esnext": "npm run build:types && npm run build:js",
"build:types": "tsc --emitDeclarationOnly",
"build:js": "babel src --out-dir dist --extensions \".ts,.tsx\" --source-maps inline",
"build.all": "npm run build.prod && npm run build.esnext",
"test": "jest",
"coverage": "jest --coverage"
},
"keywords": [
"webpack",
"webpack4",
"typescript"
],
"author": "Emanuele Guidotti",
"license": "ISC",
"devDependencies": {
"@babel/cli": "^7.2.3",
"@babel/core": "^7.4.0",
"@babel/plugin-proposal-class-properties": "^7.4.0",
"@babel/plugin-proposal-object-rest-spread": "^7.4.0",
"@babel/preset-env": "^7.4.1",
"@babel/preset-typescript": "^7.3.3",
"@babel/types": "^7.9.6",
"@types/jasmine": "2.8.7",
"@types/jest": "^25.2.1",
"@types/node": "7.0.0",
"awesome-typescript-loader": "5.2.0",
"copy-webpack-plugin": "^5.1.1",
"css-loader": "^3.5.3",
"html-loader": "^1.1.0",
"jasmine-core": "3.1.0",
"jest": "^25.5.2",
"mini-css-extract-plugin": "^0.9.0",
"raw-loader": "^4.0.1",
"source-map-loader": "0.2.3",
"style-loader": "^1.2.0",
"terser-webpack-plugin": "^2.3.6",
"ts-jest": "^25.4.0",
"typescript": "^3.5.1",
"webpack": "4.12.0",
"webpack-cli": "3.0.8",
"webpack-dev-server": "3.1.4"
},
"dependencies": {
"@types/graceful-fs": "^4.1.3",
"babel-jest": "^25.5.1",
"babel-preset-es2015": "^6.24.1",
"jest-css-modules": "^2.1.0",
"karma": "^5.0.3",
"karma-jasmine": "^3.1.1",
"karma-phantomjs-launcher": "^1.0.4",
"karma-webpack": "^4.0.2",
"prettier": "^2.0.5",
"tslint": "^6.1.2",
"tslint-loader": "^3.5.4"
},
"jest": {
"verbose": true,
"preset": "ts-jest",
"transform": {
".(ts|tsx)": "ts-jest",
"^.+\\.(css|scss|less)$": "jest-css-modules",
"^.+\\.html$": "<rootDir>/test/utils/htmlLoader.js"
},
"moduleNameMapper": {
"^.+\\.html$": "<rootDir>/test/utils/htmlLoader.js",
"^.+\\.(css|scss|less)$": "jest-css-modules"
},
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node",
"html"
],
"testPathIgnorePatterns": [
"<rootDir>/.next/",
"<rootDir>/node_modules/"
],
"globals": {
"NODE_ENV": "test"
},
"moduleDirectories": [
"node_modules"
]
}
}