-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
155 lines (155 loc) · 5.27 KB
/
package.json
File metadata and controls
155 lines (155 loc) · 5.27 KB
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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
{
"name": "react-i18n-base",
"version": "3.1.2",
"main": "lib/index.js",
"homepage": "http://codeinbox.me/react-i18n-base",
"author": {
"name": "Danilo Castro",
"url": "https://github.com/daniloster"
},
"repository": {
"type": "git",
"url": "https://github.com/daniloster/react-i18n-base.git"
},
"bugs": {
"url": "https://github.com/daniloster/react-i18n-base/issues"
},
"license": "MIT",
"nyc": {
"require": [
"babel-register"
],
"include": [
"src/**/*.js",
"src/*.js"
],
"exclude": [
"src/**/*.spec.js",
"test",
"build",
"dist",
"lib",
"mochawesome-reports"
],
"sourceMap": false,
"instrument": false
},
"styleguide": {
"ignore": [
"**/src/index.js",
"./README.md"
]
},
"publishConfig": {
"access": "public"
},
"engines": {
"node": ">6.0.0"
},
"dependencies": {
"mutation-helper": "1.0.0"
},
"peerDependencies": {
"prop-types": "^15.7.2",
"react": "^16.8.4",
"uuid": "^3.3.2"
},
"devDependencies": {
"@babel/cli": "7.2.3",
"@babel/core": "7.4.0",
"babel-eslint": "10.0.1",
"babel-istanbul": "0.12.2",
"babel-loader": "8.0.5",
"babel-plugin-istanbul": "4.1.5",
"babel-plugin-react-docgen": "2.0.2",
"babel-plugin-module-resolver": "3.2.0",
"babel-plugin-styled-components": "1.10.0",
"@babel/plugin-proposal-class-properties": "7.4.0",
"@babel/plugin-proposal-export-namespace-from": "7.2.0",
"@babel/plugin-proposal-throw-expressions": "7.2.0",
"@babel/plugin-syntax-dynamic-import": "7.2.0",
"@babel/plugin-syntax-async-generators": "7.2.0",
"@babel/plugin-transform-modules-umd": "7.2.0",
"@babel/plugin-transform-regenerator": "7.4.0",
"@babel/plugin-transform-runtime": "7.4.0",
"@babel/polyfill": "7.4.0",
"@babel/preset-env": "7.4.2",
"@babel/preset-react": "7.0.0",
"@babel/preset-stage-0": "7.0.0",
"@babel/runtime": "7.4.2",
"@babel/register": "7.4.0",
"canvas": "2.4.1",
"core-js": "2.6.5",
"chai": "4.2.0",
"cross-env": "5.0.5",
"enzyme": "3.9.0",
"enzyme-adapter-react-16": "1.11.2",
"enzyme-adapter-utils": "1.10.1",
"eslint": "5.15.3",
"eslint-config-airbnb": "17.1.0",
"eslint-config-prettier": "4.1.0",
"eslint-plugin-import": "2.16.0",
"eslint-plugin-jsx-a11y": "6.2.1",
"eslint-plugin-prettier": "3.0.1",
"eslint-plugin-react": "7.12.4",
"file-loader": "3.0.1",
"handlebars": "4.5.3",
"html-loader": "0.5.5",
"html-webpack-plugin": "3.2.0",
"img-loader": "3.0.1",
"istanbul": "0.4.5",
"jsdom": "14.0.0",
"json-loader": "0.5.7",
"mocha": "3.5.3",
"mochawesome": "2.3.1",
"nyc": "10.0.0",
"npx": "10.2.0",
"prettier": "1.16.4",
"prop-types": "15.7.2",
"react": "16.8.4",
"react-addons-test-utils": "15.6.2",
"react-docgen": "4.1.0",
"react-docgen-displayname-handler": "2.1.1",
"react-dom": "16.8.4",
"react-styleguidist": "9.0.4",
"react-test-renderer": "16.8.4",
"recast": "0.17.4",
"rsg-components": "3.0.0",
"sinon": "7.3.0",
"source-map-loader": "0.2.4",
"source-map-support": "0.5.11",
"styled-components": "4.1.3",
"svg-url-loader": "2.3.2",
"update-markdown": "1.1.3",
"url-loader": "1.1.2",
"uuid": "3.3.2",
"webpack": "4.29.6",
"webpack-cli": "3.3.0",
"webpack-dev-server": "3.2.1",
"yarn": "1.22.0"
},
"resolutions": {
"core-js": "2.6.5"
},
"scripts": {
"install:yarn": "npm install yarn@$(cat package.json | grep \"yarn\" | awk '{print $2}' | cut -d'\"' -f2) -g",
"tools": "npm run install:yarn",
"dev": "NODE_ENV=dev webpack-dev-server --config webpack.config.js --mode development ./DEV/index.js",
"check-coverage": "cross-env NODE_ENV=test nyc --all --babel --require \"./tools/helpers/browser.js\" --reporter=lcov --reporter=text mocha --recursive test -name *.spec.js check-coverage --statements 95 --branches 95 --functions 95 --lines 95",
"coverage": "cross-env NODE_ENV=test nyc --all --babel --reporter=lcov --reporter=text --require \"./tools/helpers/browser.js\" mocha --recursive test -name *.spec.js",
"test": "npm run lint && mocha --recursive test -name *.spec.js --require \"./tools/helpers/browser.js\" --colors --reporter mochawesome",
"test:watch": "npm run test -- --watch",
"prebuild": "rm -rf lib/ && mkdir -p lib",
"validate": "npm run test && npm run coverage && npm run check-coverage",
"build": "babel src --out-dir lib --copy-files --source-maps",
"prepublish": "npm run build",
"lint:fix": "eslint --fix src --config ./.eslintrc.json --ignore-path ./.eslintignore",
"lint": "eslint src --config ./.eslintrc.json --ignore-path ./.eslintignore",
"doc": "react-docgen ./src --ignore node_modules,lib,dist,docs,DEV,.nyc_output,coverage,mochawesome-reports,mochawesome-report,webpack.config.js,src/__test__ -e **/*.spec.js --resolver findAllComponentDefinitions --pretty | ./tools/docs/generateDocs.sh",
"clean:styleguide": "rm -rf docs/build/ docs/index.html",
"prestyleguide": "yarn clean:styleguide",
"styleguide": "NODE_ENV=dev npx styleguidist server",
"prestyleguide:build": "yarn clean:styleguide",
"styleguide:build": "NODE_ENV=dev npx styleguidist build"
}
}