-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
88 lines (88 loc) · 3.15 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
{
"name": "pollicino-ui",
"version": "2.9.2",
"description": "Clean, Material Design inspired React UI component library",
"author": "Alberto Gasparin",
"main": "lib/index.js",
"keywords": [
"React",
"UI",
"Components",
"Form"
],
"repository": {
"type": "git",
"url": "https://github.com/albertogasparin/pollicino-ui/"
},
"config": {
"testfiles": "find . -name unit*.js -not -path */node_modules/*",
"mochaargs": "--compilers js:babel-register --require ./tests/helpers/react-compat --require ./tests/unit/setup"
},
"scripts": {
"preversion": "npm run test -s",
"version": "npm run styleguide:build && git add -A docs",
"postversion": "git push && git push --tags",
"prepublish": "npm run build -s",
"prebuild": "npm run clean -s && npm run test -s",
"build": "npm run build:js -s && npm run build:css -s",
"build:js": "babel src -d lib --ignore **/__tests__",
"build:css": "echo 'for dir in ./src/*/; do cp \"${dir}style.scss\" \"${dir//src//lib}style.scss\";done' | bash",
"pretest": "npm run lint -s",
"test": "npm run test:unit -s",
"test:unit": "NODE_ENV=test mocha $($npm_package_config_testfiles) $npm_package_config_mochaargs",
"test:unit:watch": "npm run test:unit -- --watch --watch-extensions jsx,json --reporter nyan",
"lint": "eslint --ext .js,.jsx --ignore-path .gitignore \"!(docs|lib)/**/*.js\" && (prettier --list-different \"{src,scss,tests}/**/*.{js,scss}\" || (echo \"$(tput setaf 1)Linting failed, please check files above$(tput sgr0)\"; exit 1)) && stylelint --syntax scss \"src/**/*.scss\"",
"clean": "rm -rf ./lib && rm -rf ./coverage && rm -rf ./.nyc_output",
"prewatch": "npm run clean -s",
"watch": "styleguidist server --config ./styleguide/config.js",
"styleguide:build": "styleguidist build --config ./styleguide/config.js"
},
"dependencies": {
"lodash": "^4.1.0",
"prop-types": "^15.5.0",
"react-day-picker": "~7.0.7",
"react-simple-colorpicker": "~1.4.0"
},
"peerDependencies": {
"react": "^15.0.0 || ^16.0.0",
"react-dom": "^15.0.0 || ^16.0.0"
},
"devDependencies": {
"autoprefixer": "~7.2.2",
"babel-cli": "~6.26.0",
"babel-core": "^6.24.0",
"babel-eslint": "~8.2.1",
"babel-loader": "~7.1.2",
"babel-preset-env": "~1.6.0",
"babel-preset-es2015": "^6.24.0",
"babel-preset-react": "^6.24.0",
"babel-preset-stage-1": "~6.24.1",
"babel-register": "^6.24.0",
"chai": "~4.1.2",
"css-loader": "~0.28.9",
"enzyme": "~3.3.0",
"enzyme-adapter-react-16": "~1.1.1",
"eslint": "~4.17.0",
"eslint-plugin-react": "~7.6.1",
"image-webpack-loader": "^2.0.0",
"mocha": "~5.0.1",
"node-sass": "~4.7.2",
"postcss-loader": "~2.1.0",
"prettier": "~1.10.2",
"react": "~16.2.0",
"react-dom": "~16.2.0",
"react-styleguidist": "~6.2.4",
"react-test-renderer": "~16.2.0",
"require-hacker": "~3.0.1",
"sass-loader": "~6.0.6",
"style-loader": "~0.20.1",
"stylelint": "~8.4.0",
"svg-sprite-loader": "~3.6.2",
"testdouble": "~3.2.6",
"testdouble-chai": "^0.5.0",
"webpack": "~3.11.0"
},
"engines": {
"node": ">= 4.0.0"
}
}