|
1 | 1 | { |
2 | | - "name": "@dhis2/ui-widgets", |
3 | | - "version": "0.1.0", |
4 | | - "main": "./build/cjs/index.js", |
5 | | - "module": "./build/es/index.js", |
6 | | - "sideEffects": false, |
7 | | - "repository": "git@github.com:dhis2/ui-widgets.git", |
8 | | - "author": "Edoardo Sabadelli <edoardo@dhis2.org>", |
9 | | - "license": "BSD-3-Clause", |
10 | | - "private": false, |
11 | | - "publishConfig": { |
12 | | - "access": "public" |
13 | | - }, |
14 | | - "scripts": { |
15 | | - "prebuild": "rm -rf ./build/*", |
16 | | - "build:commonjs": "BABEL_ENV=commonjs babel src --out-dir ./build/cjs --copy-files --verbose", |
17 | | - "build:modules": "BABEL_ENV=modules babel src --out-dir ./build/es --copy-files --verbose", |
18 | | - "build:docs": "cd ./docs && yarn install && CI=false yarn build && cd .. && cp -r ./docs/build ./build/docs", |
19 | | - "build": "yarn build:commonjs && yarn build:modules", |
20 | | - "postbuild": "yarn build-storybook && size-limit", |
21 | | - "build-storybook": "build-storybook -c .storybook -o ./build/docs", |
22 | | - "start-storybook": "start-storybook --port 5000", |
23 | | - "start": "yarn start-storybook" |
24 | | - }, |
25 | | - "husky": { |
26 | | - "hooks": { |
27 | | - "commit-msg": "d2-style commit check", |
28 | | - "pre-commit": "d2-style js apply" |
29 | | - } |
30 | | - }, |
31 | | - "devDependencies": { |
32 | | - "@babel/cli": "^7.0.0", |
33 | | - "@babel/core": "^7.0.0", |
34 | | - "@babel/preset-env": "^7.1.6", |
35 | | - "@babel/preset-react": "^7.0.0", |
36 | | - "@dhis2/cli-style": "^2.2.1", |
37 | | - "@dhis2/packages": "^1.3.0", |
38 | | - "@storybook/addon-notes": "^5.0.3", |
39 | | - "@storybook/react": "^5.0.3", |
40 | | - "babel-loader": "^8.0.5", |
41 | | - "conventional-changelog-cli": "^2.0.5", |
42 | | - "fs-extra": "^7.0.0", |
43 | | - "husky": "^1.0.1", |
44 | | - "react-dev-utils": "^8.0.0", |
45 | | - "size-limit": "^0.21.1", |
46 | | - "storybook-addon-jsx": "^7.0.0", |
47 | | - "typeface-roboto": "^0.0.54" |
48 | | - }, |
49 | | - "peerDependencies": { |
50 | | - "prop-types": "^15", |
51 | | - "react": "^16.3", |
52 | | - "react-dom": "^16.3" |
53 | | - }, |
54 | | - "dependencies": { |
55 | | - "classnames": "^2.2.6", |
56 | | - "styled-jsx": "^3.2.1" |
57 | | - }, |
58 | | - "files": [ |
59 | | - "./build" |
60 | | - ] |
| 2 | + "name": "@dhis2/ui-widgets", |
| 3 | + "version": "0.1.0", |
| 4 | + "main": "./build/cjs/index.js", |
| 5 | + "module": "./build/es/index.js", |
| 6 | + "sideEffects": false, |
| 7 | + "repository": "git@github.com:dhis2/ui-widgets.git", |
| 8 | + "author": "Edoardo Sabadelli <edoardo@dhis2.org>", |
| 9 | + "contributors": [ |
| 10 | + "Viktor Varland <viktor@dhis2.org>" |
| 11 | + ], |
| 12 | + "license": "BSD-3-Clause", |
| 13 | + "private": false, |
| 14 | + "publishConfig": { |
| 15 | + "access": "public" |
| 16 | + }, |
| 17 | + "scripts": { |
| 18 | + "extract-pot": "d2-i18n-extract -p src/ -o i18n/", |
| 19 | + "generate-locale": "d2-i18n-generate -n 'ui-widgets' -p ./i18n/ -o ./src/locales/", |
| 20 | + "localize": "yarn extract-pot && yarn generate-locale", |
| 21 | + "prebuild": "rm -rf ./build/* && yarn localize", |
| 22 | + "build:commonjs": "BABEL_ENV=commonjs babel src --out-dir ./build/cjs --copy-files --verbose", |
| 23 | + "build:modules": "BABEL_ENV=modules babel src --out-dir ./build/es --copy-files --verbose", |
| 24 | + "build": "NODE_ENV=production yarn build:commonjs && yarn build:modules", |
| 25 | + "postbuild": "yarn build-storybook", |
| 26 | + "build-storybook": "build-storybook -c .storybook -o ./build/docs", |
| 27 | + "start-storybook": "start-storybook --port 5000", |
| 28 | + "prestart": "yarn localize", |
| 29 | + "start": "yarn start-storybook" |
| 30 | + }, |
| 31 | + "husky": { |
| 32 | + "hooks": { |
| 33 | + "commit-msg": "d2-style commit check", |
| 34 | + "pre-commit": "d2-style js apply" |
| 35 | + } |
| 36 | + }, |
| 37 | + "devDependencies": { |
| 38 | + "@babel/cli": "^7.0.0", |
| 39 | + "@babel/core": "^7.0.0", |
| 40 | + "@babel/plugin-proposal-class-properties": "^7.4.0", |
| 41 | + "@babel/plugin-proposal-object-rest-spread": "^7.2.0", |
| 42 | + "@babel/plugin-transform-react-constant-elements": "^7.2.0", |
| 43 | + "@babel/preset-env": "^7.1.6", |
| 44 | + "@babel/preset-react": "^7.0.0", |
| 45 | + "@dhis2/app-runtime": "1.1.0", |
| 46 | + "@dhis2/cli-style": "3.1.1", |
| 47 | + "@dhis2/d2-i18n-extract": "1.0.7", |
| 48 | + "@dhis2/d2-i18n-generate": "1.1.1", |
| 49 | + "@storybook/addon-notes": "5.0.11", |
| 50 | + "@storybook/react": "5.0.11", |
| 51 | + "babel-loader": "^8.0.5", |
| 52 | + "conventional-changelog-cli": "^2.0.5", |
| 53 | + "fs-extra": "^7.0.0", |
| 54 | + "husky": "^1.0.1", |
| 55 | + "react-dev-utils": "^8.0.0", |
| 56 | + "storybook-addon-jsx": "^7.0.0", |
| 57 | + "typeface-roboto": "^0.0.54" |
| 58 | + }, |
| 59 | + "peerDependencies": { |
| 60 | + "@dhis2/app-runtime": "1.1.0", |
| 61 | + "prop-types": "^15", |
| 62 | + "react": "^16.8", |
| 63 | + "react-dom": "^16.8" |
| 64 | + }, |
| 65 | + "dependencies": { |
| 66 | + "@dhis2/d2-i18n": "1.0.4", |
| 67 | + "@dhis2/ui-core": "2.0.2", |
| 68 | + "classnames": "^2.2.6", |
| 69 | + "styled-jsx": "^3.2.1" |
| 70 | + }, |
| 71 | + "files": [ |
| 72 | + "./build" |
| 73 | + ] |
61 | 74 | } |
0 commit comments