-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
73 lines (73 loc) · 2.8 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
{
"name": "@manifoldco/mercury",
"description": "Manifold Design System",
"private": false,
"repository": {
"type": "git",
"url": "git+https://github.com/manifoldco/mercury.git"
},
"homepage": "https://github.com/manifoldco/mercury",
"bugs": {
"url": "https://github.com/manifoldco/mercury/issues"
},
"version": "0.2.5",
"main": "index.cjs.js",
"module": "index.mjs",
"sass": "index.scss",
"types": "index.d.ts",
"license": "BSD-3",
"scripts": {
"build": "rm -rf pkg && mkdir pkg && cp -r src/. pkg && npm run build:css && npm run build:ts",
"build:css": "sass pkg/index.scss --no-source-map |> /dev/null",
"build:ts": "tsc --module esnext --declaration --skipLibCheck pkg/index.ts && mv pkg/index.js pkg/index.mjs && tsc --module commonjs --skipLibCheck pkg/index.ts && mv pkg/index.js pkg/index.cjs.js",
"build-storybook": "make package && node scripts/storybook-icons && build-storybook",
"clean-package-json": "node scripts/clean-package-json",
"dev": "make package && node scripts/storybook-icons && start-storybook -p 6006",
"extract": "npm run extract:styles && npm run extract:icons",
"extract:icons": "rm -rf src/icons && figma-export use-config && mv src/Icons src/icons && node scripts/prepare-icons",
"extract:styles": "ts-node --files figma",
"format": "stylelint 'src/components/*.scss' --fix && eslint '**/*.ts' --fix",
"lint": "npm run lint:js && npm run lint:css",
"lint:js": "eslint '**/*.ts'",
"lint:css": "stylelint 'src/components/*.scss' && stylelint --config stylelint.storybook.js 'stories/**/*.scss'",
"test": "jest"
},
"dependencies": {
"react-copy-button-wrapper": "0.0.6"
},
"devDependencies": {
"@babel/core": "^7.9.0",
"@babel/preset-env": "^7.9.5",
"@babel/preset-typescript": "^7.9.0",
"@figma-export/cli": "^3.0.0",
"@figma-export/output-components-as-svg": "^3.0.0",
"@figma-export/transform-svg-with-svgo": "^3.0.0",
"@storybook/react": "^6.0.1",
"@types/jest": "^26.0.0",
"@types/node": "^15.0.1",
"@types/prettier": "^2.0.0",
"@typescript-eslint/eslint-plugin": "^4.20.0",
"@typescript-eslint/parser": "^4.19.0",
"babel-loader": "^8.1.0",
"css-in-js-utils": "^3.0.4",
"deepmerge": "^4.2.2",
"eslint": "^7.23.0",
"eslint-config-prettier": "^6.10.1",
"eslint-plugin-prettier": "^3.1.3",
"figma-js": "^1.10.0",
"jest": "^26.0.1",
"jest-cli": "^26.0.1",
"prettier": "^2.0.4",
"react": "^17.0.2",
"rgb2hex": "^0.2.0",
"sass": "^1.26.3",
"sass-loader": "^10.0.1",
"stylelint": "^13.3.3",
"stylelint-config-prettier": "^8.0.1",
"stylelint-config-rational-order": "^0.1.2",
"stylelint-config-standard": "^21.0.0",
"stylelint-order": "^4.0.0",
"ts-node": "^9.0.0",
"typescript": "^4.0.2"
}
}