/
package.json
83 lines (83 loc) · 2.92 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
{
"name": "@gcba/obelisco",
"version": "1.0.0",
"description": "Sistema de componentes para web del GCBA.",
"author": "Dirección General de Experiencia Digital",
"license": "MIT",
"publishConfig": {
"access": "public"
},
"main": "dist/index.js",
"files": [
"dist",
"src"
],
"scripts": {
"start": "start-storybook -s ./static -p 6006",
"lint": "npm run lint:typescript && npm run lint:sass",
"lint:typescript": "eslint --ext .ts,.tsx . --fix",
"lint:sass": "stylelint '**/*.{css,scss,sass}' --fix",
"test": "echo \"Error: no test specified\" && exit 1",
"build:sass": "node-sass src/scss/obelisco.scss dist/obelisco.css --source-map true --output-style compressed --importer node_modules/node-sass-package-importer/dist/cli.js",
"build:cdn": "node-sass src/scss/obelisco.scss static/obelisco.css --source-map static/obelisco.css.map --output-style compressed --importer node_modules/node-sass-package-importer/dist/cli.js",
"build:typescript": "tsc --outDir dist",
"build:storybook": "build-storybook -s ./static -c .storybook -o .storybook-out",
"release": "semantic-release",
"prepare": "husky install",
"nodemon:cdn": "nodemon -e scss -x \"npm run build:cdn\""
},
"dependencies": {},
"devDependencies": {
"@babel/core": "^7.9.6",
"@storybook/addon-a11y": "^5.3.18",
"@storybook/addon-info": "^5.3.18",
"@storybook/addon-notes": "^5.3.18",
"@storybook/addon-viewport": "^5.3.18",
"@storybook/addons": "^5.3.19",
"@storybook/preset-create-react-app": "^3.0.0",
"@storybook/preset-typescript": "^3.0.0",
"@storybook/react": "^5.3.18",
"@storybook/theming": "^5.3.19",
"@typescript-eslint/eslint-plugin": "^3.0.0",
"@typescript-eslint/parser": "^3.0.0",
"@whitespace/storybook-addon-html": "^1.2.1",
"babel-loader": "^8.1.0",
"babel-preset-react-app": "^9.1.2",
"bootstrap": "4.6.2",
"chromatic": "^4.0.3",
"classnames": "^2.3.1",
"css-loader": "^3.5.3",
"eslint": "^7.1.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-prettier": "^3.1.3",
"eslint-plugin-react": "^7.20.0",
"fork-ts-checker-webpack-plugin": "^4.1.4",
"husky": "^8.0.3",
"node-sass": "^4.14.1",
"node-sass-package-importer": "^5.3.2",
"nodemon": "^3.0.1",
"prettier-stylelint": "^0.4.2",
"react": "^16.13.1",
"react-docgen-typescript-loader": "^3.7.2",
"react-dom": "^16.13.1",
"react-is": "^16.13.1",
"react-storybook-addon-props-combinations": "^1.1.0",
"sass": "^1.26.5",
"sass-loader": "^8.0.2",
"semantic-release": "^17.1.1",
"style-loader": "^1.2.1",
"stylelint": "^13.5.0",
"stylelint-config-prettier": "^8.0.1",
"stylelint-prettier": "^1.1.2",
"stylelint-scss": "^3.17.2",
"ts-loader": "^7.0.4",
"typescript": "^3.9.3"
},
"husky": {
"husky": {
"hooks": {
"pre-push": "npm run build:cdn && git push"
}
}
}
}