-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
151 lines (151 loc) · 4.79 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
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
{
"name": "@deloitte-digital-au/dd-breakpoint-container",
"version": "0.8.6",
"description": "Flexible container queries for responsive design in React and SCSS.",
"author": "Deloitte Digital Australia (http://deloittedigital.com.au)",
"license": "BSD-3-Clause",
"repository": {
"type": "git",
"url": "https://github.com/DeloitteDigitalAPAC/dd-breakpoint-container"
},
"homepage": "https://github.com/DeloitteDigitalAPAC/dd-breakpoint-container/blob/master/README.md",
"main": "./lib/index.js",
"module": "./dist/dd.BreakpointContainer.esm.js",
"types": "./lib/index.d.ts",
"files": [
"lib/",
"dist/",
"LICENCE",
"CHANGELOG.md",
"README.md"
],
"dependencies": {
"classnames": "^2.2.5",
"core-js": "^3.4.1",
"react-resize-detector": "^3.4.0"
},
"peerDependencies": {
"react": "^16.2.0"
},
"devDependencies": {
"@babel/cli": "^7.6.4",
"@babel/core": "^7.6.4",
"@babel/preset-env": "^7.6.3",
"@babel/preset-typescript": "^7.6.0",
"@deloitte-digital-au/babel-preset-app-react": "^3.0.0",
"@deloitte-digital-au/eslint-config-react": "^3.4.0",
"@deloitte-digital-au/stylelint-config": "^2.0.1",
"@types/classnames": "^2.2.9",
"@types/react-resize-detector": "^4.0.2",
"@typescript-eslint/eslint-plugin": "^2.5.0",
"@typescript-eslint/parser": "^2.5.0",
"autoprefixer": "^9.6.5",
"babel-eslint": "^8.2.3",
"babel-plugin-module-resolver": "^3.2.0",
"cross-env": "^5.2.1",
"cssnano": "^4.1.10",
"eslint": "^5.16.0",
"eslint-config-prettier": "^4.3.0",
"eslint-import-resolver-babel-module": "^5.1.0",
"eslint-plugin-module-resolver": "^0.15.0",
"eslint-plugin-prettier": "^3.1.1",
"husky": "^2.7.0",
"lint-staged": "^8.2.1",
"node-sass": "^4.12.0",
"npm-run-all": "^4.1.5",
"npm-watch": "^0.6.0",
"postcss-preset-env": "^6.7.0",
"prettier": "^1.18.2",
"rollup": "^1.25.2",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-babel-minify": "^7.0.0",
"rollup-plugin-commonjs": "^9.3.4",
"rollup-plugin-delete": "^0.2.2",
"rollup-plugin-node-resolve": "^4.2.4",
"rollup-plugin-postcss": "^2.0.3",
"rollup-plugin-progress": "^1.1.1",
"rollup-plugin-size-snapshot": "^0.8.0",
"rollup-plugin-typescript2": "^0.24.3",
"rollup-plugin-visualizer": "^0.9.2",
"stylelint-config-prettier": "^5.3.0",
"stylelint-prettier": "^1.1.1",
"tslib": "^1.10.0",
"typescript": "^3.6.4"
},
"scripts": {
"doctoc": "doctoc README.md --title '## Index' --maxlevel 4 --bitbucket",
"start": "npm-watch watch:build",
"watch:build": "node ./scripts/text/rebuilding.js && run-s build:dev build:sass build:types build:post",
"build": "run-s --silent check-types build:*",
"build:pre": "node ./scripts/text/dd-logo.js",
"build:clean": "rm -rf lib dist/cjs",
"build:dev": "cross-env NODE_ENV=development && rollup --config ./rollup.dev.js",
"build:prod": "cross-env NODE_ENV=production && rollup --config ./rollup.prod.js",
"build:lib": "babel ./src --out-dir lib --extensions \".js,.jsx,.ts,.tsx\" --source-maps inline --copy-files && rm -rf ./lib/scss",
"build:sass": "node-sass ./src/scss --output ./src/css && node ./scripts/buildMixins.js",
"build:types": "tsc --project ./tsconfig.types.json",
"build:post": "node ./scripts/text/build-complete.js",
"prettify": "prettier ./src/**/*.{js,jsx,ts,tsx}",
"check-types": "tsc",
"lint": "run-s --silent lint:* && node scripts/text/no-issues.js",
"lint:js": "eslint --fix --ext .js,.jsx,.ts,.tsx ./src",
"lint:css": "stylelint --fix ./src/**/*.{scss,css,js,js,ts,tsx}",
"test": "run-s --silent test:* && node scripts/text/no-issues.js",
"test:unit": "node scripts/text/no-issues.js",
"test:coverage": "run-s test:unit -- --coverage",
"prepublishOnly": "run-s --silent lint check-types test build"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "run-s test:unit && run-s check-types"
}
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx}": [
"eslint --fix",
"stylelint --fix",
"prettier --write",
"git add"
],
"src/**/*.{scss,css}": [
"stylelint --fix",
"git add"
]
},
"watch": {
"watch:build": {
"patterns": [
"src"
],
"extensions": "ts,tsx,js,scss",
"quiet": true
}
},
"keywords": [
"container-query",
"element-query",
"breakpoint",
"responsive",
"reactjs",
"react",
"react-component"
],
"engines": {
"node": ">=8.5.0"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"IE 11",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version",
"IE 11"
]
}
}