-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
105 lines (105 loc) · 4.13 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
{
"private": true,
"name": "frontend-packages",
"description": "NDLA Frontend Packages",
"scripts": {
"build-clean": "rm -rf ./packages/*/es ./packages/*/lib ./packages/*/dist",
"build": "node ./scripts/build.js packages",
"lint": "yarn format-check && yarn lint-es",
"lint-es": "eslint --cache --ext .js,.jsx,.ts,.tsx --max-warnings=0 ./packages --ignore-path .gitignore",
"format": "node ./scripts/prettier.js write",
"format-check": "node ./scripts/prettier.js lint",
"type-check": "tsc --noEmit",
"type-check-watch": "yarn type-check --watch --preserveWatchOutput",
"test": "cross-env BABEL_ENV=test NODE_ENV=unittest jest",
"check-all": "yarn type-check && yarn format-check && yarn lint-es && yarn test",
"deploy": "now --token $NDLA_NOW_TOKEN alias frontend-packages-master.ndla.sh designmanual.ndla.no && now --token $NDLA_NOW_TOKEN alias frontend-packages-master.ndla.sh designmanual.ndla.sh",
"clean": "rm -rf ./packages/*/es ./packages/*/lib ./packages/*/dist",
"bootstrap": "lerna bootstrap && yarn build && lerna run prepublish",
"publish": "yarn clean && yarn bootstrap && lerna publish",
"pre-release": "yarn clean && yarn bootstrap && lerna publish --canary minor --no-git-tag-version --dist-tag next ",
"watch": "node ./scripts/watch.js",
"start": "yarn build && concurrently -k -p \"[{name}]\" -n \"Babel,Storybook,Typescript\" -c \"yellow.bold,magenta.bold,blue.bold\" \"yarn watch\" \"yarn start-storybook\" \"yarn type-check-watch\"",
"start-storybook": "node ./scripts/startStorybook.js",
"prebuild-storybook": "yarn bootstrap",
"build-storybook": "cross-env NODE_ENV=production node ./scripts/buildStorybook.js",
"serve-storybook": "cross-env NODE_ENV=production serve ./packages/designmanual/storybook-static"
},
"repository": {
"type": "git",
"url": "https://github.com/NDLANO/frontend-packages.git"
},
"bugs": {
"url": "https://github.com/NDLANO/frontend-packages/issues"
},
"homepage": "https://github.com/NDLANO/frontend-packages",
"author": "ndla@knowit.no",
"license": "GPL-3.0",
"workspaces": [
"packages/*"
],
"devDependencies": {
"@babel/cli": "^7.11.6",
"@babel/core": "^7.11.6",
"@babel/plugin-proposal-object-rest-spread": "^7.11.0",
"@babel/plugin-proposal-optional-chaining": "^7.11.0",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/preset-env": "^7.11.5",
"@babel/preset-react": "^7.10.4",
"@babel/preset-typescript": "^7.10.4",
"@emotion/babel-preset-css-prop": "^10.0.27",
"@emotion/core": "^10.0.35",
"@emotion/styled": "^10.0.27",
"@types/facepaint": "^1.2.1",
"@types/invariant": "^2.2.34",
"@types/lodash": "^4.14.161",
"@types/node": "^14.11.2",
"@types/react": "^16.8.6",
"@types/react-dom": "^16.8.2",
"@types/react-router-dom": "^4.3.2",
"@types/react-test-renderer": "^16.8.1",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^24.1.0",
"babel-plugin-emotion": "^10.0.33",
"babel-plugin-polished": "^1.1.0",
"babel-preset-es2015": "6.24.1",
"camelcase": "^5.0.0",
"chalk": "^2.4.2",
"cheerio": "^1.0.0-rc.2",
"chokidar": "2.1.1",
"classnames": "2.2.6",
"concurrently": "^4.1.0",
"cross-env": "^5.1.3",
"cross-spawn": "^6.0.4",
"eslint": "^7.18.0",
"jest": "^24.1.0",
"jest-dom": "^3.1.1",
"jest-emotion": "^10.0.9",
"lerna": "^3.11.1",
"mkdirp": "^0.5.1",
"node-sass": "^4.11.0",
"prettier": "^1.16.4",
"prop-types": "15.7.2",
"react": "^16.13.1",
"react-bem-helper": "1.4.1",
"react-collapse": "^4.0.3",
"react-device-detect": "^1.6.2",
"react-dom": "^16.13.1",
"react-height": "3.0.1",
"react-helmet": "^5.2.0",
"react-motion": "0.5.2",
"react-prop-types": "0.4.0",
"react-router": "^5.2.0",
"react-router-dom": "^5.2.0",
"react-test-renderer": "^16.13.1",
"react-testing-library": "^5.6.1",
"regenerator-runtime": "^0.13.1",
"rimraf": "2.6.3",
"serve": "^10.1.2",
"sinon": "^7.2.3",
"string-length": "^2.0.0",
"style-loader": "^0.23.1",
"ts-jest": "^24.0.0",
"typescript": "^4.1.3"
}
}