forked from nice-digital/nice-design-system
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
172 lines (172 loc) · 6.54 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
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
{
"name": "nice-design-system",
"private": true,
"version": "0.0.1",
"description": "Monorepo for the NICE Design System",
"scripts": {
"start": "npm run dev",
"dev": "concurrently npm:build:es:watch npm:devapp npm:storybook npm:docs:dev",
"// ICONS": "",
"icons:start": "lerna run --stream --scope=@nice-digital/icons start",
"icons:svgr": "lerna run --stream --scope=@nice-digital/icons svgr",
"icons:es5ify": "lerna run --stream --scope=@nice-digital/icons es5ify",
"icons:webfont": "lerna run --stream --scope=@nice-digital/icons webfont",
"icons:test": "lerna run --stream --scope=@nice-digital/icons test",
"icons:readme": "lerna run --stream --scope=@nice-digital/icons readme",
"icons:lint": "lerna run --stream --scope=@nice-digital/icons lint",
"// DEVAPP (Playground)": "",
"devapp": "lerna run --scope=dev-app start",
"// DOCUMENTATION": "",
"docs:dev": "lerna run --stream --scope=@nice-digital/design-system-documentation start",
"docs:build": "lerna run --stream --scope=@nice-digital/design-system-documentation build",
"docs:serve": "lerna run --stream --scope=@nice-digital/design-system-documentation serve",
"// STORYBOOK": "",
"storybook": "lerna run --stream --scope=storybook storybook",
"storybook:dev": "concurrently npm:build:es:watch npm:storybook",
"storybook:build": "lerna run --scope=storybook build-storybook",
"// LERNA": "",
"lerna": "lerna",
"bootstrap": "lerna bootstrap",
"bootstrap:prod": "lerna bootstrap --no-ci",
"release": "lerna publish",
"// TESTS": "",
"test": "cross-env CI=true npm run test:unit && npm run lint",
"test:unit": "jest",
"test:unit:watch": "jest --watch",
"// LINTING": "",
"lint": "npm run prettier && npm run lint:js && npm run lint:scss",
"lint:js": "eslint ./{packages,components}/**/*.js",
"lint:js:fix": "npm run lint:js -- --fix",
"lint:scss": "stylelint ./{packages,components}/**/*.scss",
"lint:scss:fix": "npm run lint:scss -- --fix",
"prettier": "prettier --check components/*/{src,scss,__{tests,mocks}__}/**/*.{scss,js,json} packages/**/*.{scss,js,json}",
"// TRANSIPLE ES6": "",
"prebuild:lib": "lerna exec rimraf lib",
"build:lib": "lerna exec --scope=@nice-digital/nds-* --parallel -- babel src -d lib --source-maps --root-mode upward",
"build:lib:watch": "npm run build:lib -- -w",
"prebuild:es": "lerna exec rimraf es",
"build:es": "cross-env NODE_ENV=es lerna exec --scope=@nice-digital/nds-* --parallel -- babel src -d es --source-maps --root-mode upward",
"build:es:watch": "npm run build:es -- -w",
"build:watch": "concurrently -n build: npm:build:*:watch",
"// BUILD CSS": "",
"build:css": "lerna run --scope=@nice-digital/design-system build-css",
"// LIFECYCLE": "",
"prepublishOnly": "npm run build:lib && npm run build:es"
},
"config": {
"//": "Banner is used for prepending to compiled JS and CSS",
"banner": "NICE Design System ${ version } | ${ date }\n© Copyright NICE 2015-${ year }\nLicensed under MIT (https://github.com/nice-digital/nice-design-system/blob/master/LICENSE)"
},
"author": "Ian Routledge <[email protected]>",
"contributors": [
"NICE Digital Services (https://www.nice.org.uk/digital)",
"Ian Routledge (http://ediblecode.com)"
],
"license": "MIT",
"engines": {
"node": ">= 8.9.0"
},
"devDependencies": {
"@babel/cli": "^7.5.0",
"@babel/core": "^7.5.5",
"@babel/node": "^7.8.4",
"@babel/plugin-transform-modules-commonjs": "^7.5.0",
"@babel/plugin-transform-runtime": "^7.12.10",
"@babel/preset-env": "^7.5.0",
"@babel/preset-react": "^7.12.10",
"@babel/preset-typescript": "^7.12.7",
"@mdx-js/mdx": "^1.5.1",
"@mdx-js/react": "^1.5.1",
"@nice-digital/eslint-config": "^1.0.1",
"@nice-digital/global-nav": "github:nice-digital/global-nav",
"@storybook/addon-a11y": "^6.1.15",
"@storybook/addon-actions": "^6.1.15",
"@storybook/addon-essentials": "^6.1.18",
"@storybook/addon-knobs": "^6.1.15",
"@storybook/addon-links": "^6.1.15",
"@storybook/addon-storysource": "^6.1.15",
"@storybook/addon-viewport": "^6.1.15",
"@storybook/addons": "^6.1.15",
"@storybook/preset-scss": "^1.0.3",
"@storybook/react": "^6.1.15",
"@storybook/source-loader": "^6.1.15",
"@storybook/theming": "^6.1.15",
"@svgr/cli": "^5.1.0",
"@types/classnames": "^2.2.11",
"@types/faker": "^4.1.5",
"@types/history": "^4.7.3",
"@types/jest": "^24.0.17",
"@types/node": "^12.7.2",
"@types/react": "^16.9.2",
"@types/react-dom": "^16.8.5",
"@types/react-helmet": "^5.0.14",
"@types/react-router-dom": "^4.3.5",
"@types/storybook__react": "^5.2.1",
"@typescript-eslint/eslint-plugin": "^4.14.1",
"@typescript-eslint/parser": "^4.14.1",
"@whitespace/storybook-addon-html": "^4.2.0",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^10.0.2",
"babel-jest": "^24.9.0",
"babel-loader": "^8.0.6",
"babel-preset-gatsby": "^0.11.0",
"classnames": "^2.2.6",
"concurrently": "^4.1.1",
"copyfiles": "^2.1.0",
"cross-env": "^7.0.3",
"css-loader": "^3.0.0",
"doctoc": "^1.4.0",
"enzyme": "^3.10.0",
"enzyme-adapter-react-16": "^1.14.0",
"enzyme-to-json": "^3.3.5",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.15.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-react": "^7.22.0",
"faker": "^4.1.0",
"gatsby": "^2.17.6",
"gatsby-image": "^2.2.30",
"gatsby-plugin-manifest": "^2.2.25",
"gatsby-plugin-mdx": "^1.0.56",
"gatsby-plugin-offline": "^3.0.17",
"gatsby-plugin-react-helmet": "^3.1.13",
"gatsby-plugin-sass": "^2.1.20",
"gatsby-plugin-sharp": "^2.2.34",
"gatsby-plugin-typescript": "^2.1.16",
"gatsby-source-filesystem": "^2.1.35",
"gatsby-transformer-remark": "^2.12.0",
"gatsby-transformer-sharp": "^2.3.1",
"grunt": "^1.0.4",
"grunt-webfont": "^1.7.2",
"history": "^4.9.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^24.8.0",
"lerna": "^3.20.2",
"load-grunt-config": "^3.0.1",
"lodash": "^4.17.20",
"node-sass": "^4.13.0",
"node-sass-tilde-importer": "^1.0.2",
"prettier": "^1.18.2",
"prop-types": "^15.7.2",
"react": "^16.11.0",
"react-app-polyfill": "^2.0.0",
"react-dom": "^16.11.0",
"react-helmet": "^5.2.1",
"react-router-dom": "^5.0.1",
"react-scripts": "3.1.2",
"regenerator-runtime": "^0.13.7",
"rimraf": "^2.6.2",
"sass-loader": "^7.1.0",
"slugify": "^1.4.6",
"style-loader": "^0.23.1",
"stylelint": "^10.1.0",
"stylelint-config-prettier": "^5.2.0",
"stylelint-config-standard": "^18.3.0",
"stylelint-order": "^3.1.0",
"stylelint-prettier": "^1.1.1",
"stylelint-scss": "^3.9.0",
"typescript": "^3.5.3"
}
}