Choices/package.json
2018-05-25 14:00:27 +01:00

102 lines
3.4 KiB
JSON

{
"name": "choices.js",
"version": "3.0.2",
"description": "A vanilla JS customisable text input/select box plugin",
"main": "./src/scripts/dist/choices.min.js",
"types": "./types/index.d.ts",
"scripts": {
"start": "node devServer.js",
"lint": "eslint assets/**/*.js",
"test": "mocha --require ./config/test.js --compilers js:babel-core/register \"./src/**/**/**/**/*.test.js\"",
"test:watch": "npm run test -- --watch --inspect=5556",
"test:cypress": "node server.js && cypress open",
"coverage": "nyc npm run test",
"css:watch": "nodemon -e scss -x \"npm run css:build\"",
"css:build": "npm run css:sass -s && npm run css:prefix -s && npm run css:min -s",
"css:sass": "node-sass --output-style expanded --include-path scss src/styles/scss/base.scss public/assets/styles/base.css && node-sass --output-style expanded --include-path scss src/styles/scss/choices.scss public/assets/styles/choices.css",
"css:prefix": "postcss --use autoprefixer -b 'last 2 versions' src/styles/css/*.css -d src/styles/css/",
"css:min": "csso src/styles/css/base.css src/styles/css/base.min.css && csso src/styles/css/choices.css src/styles/css/choices.min.css",
"js:build": "concurrently --prefix-colors yellow,green \"webpack --env.minimize --config webpack.config.prod.js\" \"webpack --config webpack.config.prod.js\"",
"build": "npm run js:build && npm run css:build",
"version": "node version.js --current $npm_package_version --new $npm_config_newVersion",
"postversion": "npm run js:build",
"prepush": "npm run lint && npm run test",
"dev": "dev"
},
"repository": {
"type": "git",
"url": "git+https://github.com/jshjohnson/Choices.git"
},
"author": "Josh Johnson",
"license": "MIT",
"bugs": {
"url": "https://github.com/jshjohnson/Choices/issues"
},
"homepage": "https://github.com/jshjohnson/Choices#readme",
"devDependencies": {
"autoprefixer": "^6.3.3",
"babel-core": "^6.26.0",
"babel-eslint": "^7.2.3",
"babel-loader": "^7.1.2",
"babel-preset-env": "^1.6.1",
"babel-preset-stage-2": "^6.24.1",
"chai": "^4.1.0",
"concurrently": "^3.1.0",
"csso": "^1.8.2",
"custom-event-autopolyfill": "^0.1.3",
"cypress": "^2.1.0",
"es6-promise": "^3.2.1",
"eslint": "^3.19.0",
"eslint-config-airbnb": "^15.1.0",
"eslint-loader": "^1.5.0",
"eslint-plugin-import": "^2.7.0",
"eslint-plugin-jsx-a11y": "^5.1.1",
"eslint-plugin-react": "^7.2.1",
"express": "^4.16.3",
"husky": "^0.14.3",
"jasmine-core": "2.4.1",
"jsdom": "^11.5.1",
"mocha": "^3.4.2",
"node-sass": "^3.4.2",
"nodemon": "^1.9.1",
"nyc": "^11.0.3",
"open": "0.0.5",
"opn-cli": "^3.1.0",
"postcss-cli": "^2.5.1",
"sinon": "^2.4.0",
"webpack": "^3.8.1",
"webpack-dashboard": "^0.1.8",
"webpack-dev-server": "^1.14.1",
"whatwg-fetch": "^1.0.0",
"wrapper-webpack-plugin": "^0.1.7"
},
"dependencies": {
"classnames": "^2.2.5",
"core-js": "^2.5.6",
"custom-event-polyfill": "^0.3.0",
"fuse.js": "^3.1.0",
"opn": "^5.1.0",
"redux": "^3.3.1"
},
"npmName": "choices.js",
"npmFileMap": [
{
"basePath": "src",
"files": [
"scripts/dist/*",
"styles/css/*",
"icons/*"
]
}
],
"nyc": {
"include": [
"src/**/**/**/**/**/*.js"
],
"exclude": [
"src/**/**/**/**/**/*.test.js",
"src/scripts/src/lib/polyfills.js"
]
}
}