forked from dhis2/ui-widgets
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
70 lines (70 loc) · 2.56 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
{
"name": "@dhis2/ui-widgets",
"version": "1.0.8",
"main": "./build/cjs/index.js",
"module": "./build/es/index.js",
"sideEffects": false,
"repository": "[email protected]:dhis2/ui-widgets.git",
"author": "Edoardo Sabadelli <[email protected]>",
"contributors": [
"Viktor Varland <[email protected]>"
],
"license": "BSD-3-Clause",
"private": false,
"publishConfig": {
"access": "public"
},
"scripts": {
"extract-pot": "d2-i18n-extract -p src/ -o i18n/",
"generate-locale": "d2-i18n-generate -n 'ui-widgets' -p ./i18n/ -o ./src/locales/",
"localize": "yarn extract-pot && yarn generate-locale",
"prebuild": "rm -rf ./build/* && yarn localize",
"build:commonjs": "BABEL_ENV=commonjs babel src --out-dir ./build/cjs --copy-files --verbose",
"build:modules": "BABEL_ENV=modules babel src --out-dir ./build/es --copy-files --verbose",
"build": "NODE_ENV=production yarn build:commonjs && NODE_ENV=production yarn build:modules",
"postbuild": "NODE_ENV=production yarn build-storybook",
"build-storybook": "build-storybook -c .storybook -o ./build/docs",
"start-storybook": "start-storybook --port 5000",
"prestart": "yarn localize",
"start": "yarn start-storybook"
},
"devDependencies": {
"@babel/cli": "^7.5.5",
"@babel/core": "^7.5.5",
"@babel/plugin-proposal-class-properties": "^7.5.5",
"@babel/plugin-proposal-object-rest-spread": "^7.5.5",
"@babel/plugin-transform-react-constant-elements": "^7.5.0",
"@babel/preset-env": "^7.5.5",
"@babel/preset-react": "^7.0.0",
"@dhis2/app-runtime": "1.3.0",
"@dhis2/cli-style": "4.1.1",
"@dhis2/d2-i18n-extract": "1.0.8",
"@dhis2/d2-i18n-generate": "1.1.1",
"@storybook/addon-notes": "5.1.10",
"@storybook/react": "5.1.10",
"babel-eslint": "^10.0.2",
"babel-loader": "^8.0.6",
"fs-extra": "^8.1.0",
"react": "^16.8.6",
"react-dev-utils": "^9.0.1",
"react-dom": "^16.8.6",
"storybook-addon-jsx": "^7.1.5",
"storybook-addon-react-docgen": "^1.2.2",
"typeface-roboto": "^0.0.75"
},
"peerDependencies": {
"@dhis2/app-runtime": "^1.3",
"prop-types": "^15",
"react": "^16.8",
"react-dom": "^16.8"
},
"dependencies": {
"@dhis2/d2-i18n": "1.0.5",
"@dhis2/ui-core": "3.7.0",
"classnames": "^2.2.6",
"styled-jsx": "^3.2.1"
},
"files": [
"build"
]
}