-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
61 lines (61 loc) · 2.02 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
{
"name": "esp-js-ui",
"version": "1.0.0",
"description": "ESP-JS-UI Package",
"main": "dist/esp-js-ui.js",
"typings": "esp-js-ui.d.ts",
"author": "Dev Shop Limited",
"license": "Apache-2.0",
"repository": "https://github.com/esp/esp-js-ui",
"scripts": {
"build-dev": "export NODE_ENV=dev&& webpack --display-reasons --display-error-details",
"dev-for-example": "export NODE_ENV=prod&& webpack --display-reasons --display-error-details && npm pack && rm -rf ./examples/module-based-app/node_modules/esp-js-ui && mkdir ./examples/module-based-app/node_modules/esp-js-ui && tar -xzf esp-js-ui-1.0.0.tgz -C ./examples/module-based-app/node_modules/esp-js-ui --strip 1",
"build-prod": "export NODE_ENV=prod&& webpack --display-reasons --display-error-details",
"start": "webpack --watch",
"test": "jest"
},
"jest": {
"transform": {
".(ts|tsx)": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/__mocks__/fileMock.js",
"\\.(css|less)$": "<rootDir>/__mocks__/styleMock.js"
}
},
"devDependencies": {
"@types/classnames": "2.2.3",
"@types/query-string": "5.1.0",
"@types/react": "16.3.2",
"@types/uuid": "3.4.3",
"awesome-typescript-loader": "4.0.1",
"clean-webpack-plugin": "0.1.19",
"copy-webpack-plugin": "4.5.1",
"expect": "22.4.3",
"jest": "22.4.3",
"script-loader": "0.7.2",
"sinon": "4.5.0",
"ts-jest": "22.4.2",
"tslint": "5.9.1",
"tslint-loader": "3.6.0",
"typescript": "2.8.1",
"webpack": "3.10.0",
"webpack-fail-plugin": "2.0.0"
},
"dependencies": {
"classnames": "2.2.5",
"esp-js": "1.5.2",
"esp-js-react": "1.2.3",
"microdi-js": "1.1.0",
"query-string": "6.0.0",
"react": "16.3.0",
"rx": "4.1.0",
"uuid": "3.2.1"
}
}