Choices/package.json

133 lines
4.2 KiB
JSON
Raw Normal View History

2016-03-15 23:42:10 +01:00
{
2016-07-11 11:29:42 +02:00
"name": "choices.js",
2019-10-15 10:49:42 +02:00
"version": "7.0.2",
2016-07-11 10:46:48 +02:00
"description": "A vanilla JS customisable text input/select box plugin",
"main": "./public/assets/scripts/choices.min.js",
2017-11-29 10:14:37 +01:00
"types": "./types/index.d.ts",
2016-03-15 23:42:10 +01:00
"scripts": {
2018-10-13 13:18:02 +02:00
"start": "run-p js:watch css:watch",
2018-05-27 14:35:37 +02:00
"build": "npm run js:build && npm run css:build",
"lint": "eslint src/scripts",
"coverage": "nyc --reporter=lcov --reporter=text --reporter=text-summary mocha",
"bundlesize": "bundlesize",
2018-10-10 22:00:32 +02:00
"cypress:run": "$(npm bin)/cypress run",
"cypress:open": "$(npm bin)/cypress open",
"test": "npm run test:unit && npm run test:e2e",
"test:unit": "mocha",
"test:unit:watch": "mocha --watch --inspect=5556",
"test:e2e": "run-p --race start cypress:run",
2018-10-13 13:18:02 +02:00
"js:watch": "NODE_ENV=development node server.js",
"js:build": "webpack --config webpack.config.prod.js",
2016-03-15 23:42:10 +01:00
"css:watch": "nodemon -e scss -x \"npm run css:build\"",
"css:build": "run-p css:sass css:prefix css:min",
2018-05-27 13:04:42 +02:00
"css:sass": "node-sass --output-style expanded --include-path scss src/styles/base.scss public/assets/styles/base.css && node-sass --output-style expanded --include-path scss src/styles/choices.scss public/assets/styles/choices.css",
2018-05-25 17:51:21 +02:00
"css:prefix": "postcss --use autoprefixer -b 'last 2 versions' public/assets/styles/*.css -d public/assets/styles",
"css:min": "csso public/assets/styles/base.css public/assets/styles/base.min.css && csso public/assets/styles/choices.css public/assets/styles/choices.min.css",
"bump-cache": "node bump-cache.js --current $npm_package_version",
2018-10-30 20:22:01 +01:00
"deploy": "git subtree push --prefix public origin gh-pages",
"prepush": "run-p lint test:unit && npm run bundlesize",
"preversion": "npm test",
"postversion": "npm run bump-cache && git commit --all --no-verify -m 'updated version to $npm_package_version' && git push --no-verify --atomic",
"prepublishOnly": "npm run build"
2016-03-15 23:42:10 +01:00
},
"repository": {
"type": "git",
"url": "git+https://github.com/jshjohnson/Choices.git"
},
"author": "Josh Johnson",
"license": "MIT",
"files": [
"public/assets/scripts",
"public/assets/styles",
"src",
"!src/**/*.test.js",
"types"
],
2016-03-15 23:42:10 +01:00
"bugs": {
"url": "https://github.com/jshjohnson/Choices/issues"
},
"homepage": "https://github.com/jshjohnson/Choices#readme",
2018-07-19 16:32:25 +02:00
"keywords": [
"customisable",
"input",
"select",
"vanilla",
"plugin",
"js"
],
2016-03-15 23:42:10 +01:00
"devDependencies": {
"@babel/core": "^7.2.2",
"@babel/plugin-proposal-class-properties": "^7.3.0",
"@babel/plugin-transform-modules-commonjs": "^7.2.0",
"@babel/plugin-transform-spread": "^7.2.2",
"@babel/preset-env": "^7.3.1",
"@babel/register": "^7.0.0",
2016-03-15 23:42:10 +01:00
"autoprefixer": "^6.3.3",
"babel-loader": "^8.0.5",
"bundlesize": "^0.18.0",
"chai": "^4.2.0",
2016-08-14 23:14:37 +02:00
"csso": "^1.8.2",
"cypress": "3.2.0",
"eslint": "^6.5.1",
"eslint-config-airbnb-base": "^14.0.0",
"eslint-config-prettier": "^6.4.0",
"eslint-loader": "^3.0.2",
"eslint-plugin-cypress": "^2.7.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-prettier": "^3.1.1",
"express": "^4.16.4",
"husky": "^3.0.9",
"jsdom": "^15.2.0",
"mocha": "^6.2.2",
"node-sass": "^4.11.0",
"nodemon": "^1.18.10",
"npm-run-all": "^4.1.5",
"nyc": "^14.1.1",
"opn": "^5.4.0",
2016-03-15 23:42:10 +01:00
"postcss-cli": "^2.5.1",
"prettier": "^1.16.4",
"sinon": "^7.5.0",
"unminified-webpack-plugin": "^2.0.0",
"webpack": "^4.29.3",
"webpack-cli": "^3.2.3",
"webpack-dev-middleware": "^3.5.2",
"webpack-hot-middleware": "^2.24.3",
2016-11-01 10:29:45 +01:00
"whatwg-fetch": "^1.0.0",
"wrapper-webpack-plugin": "^2.1.0"
2016-03-30 16:04:21 +02:00
},
"dependencies": {
"classnames": "^2.2.6",
"deepmerge": "^2.2.1",
"fuse.js": "3.4.2",
2018-05-25 09:53:50 +02:00
"redux": "^3.3.1"
2016-09-06 19:12:50 +02:00
},
"npmName": "choices.js",
2016-10-26 16:43:15 +02:00
"npmFileMap": [
{
"files": [
2018-10-28 11:51:47 +01:00
"public/assets/scripts/*",
"public/assets/styles/*",
"src/icons/*"
2016-10-26 16:43:15 +02:00
]
}
2017-07-24 16:18:43 +02:00
],
"nyc": {
"include": [
2018-05-28 18:56:36 +02:00
"src/scripts/**/**/*.js"
2017-07-24 16:18:43 +02:00
],
"exclude": [
2018-05-28 18:56:36 +02:00
"src/scripts/**/**/*.test.js"
2017-07-24 16:18:43 +02:00
]
},
"bundlesize": [
{
"path": "public/assets/scripts/choices.min.js",
"maxSize": "25 kB"
},
{
"path": "public/assets/styles/choices.min.css",
"maxSize": "2 kB"
}
]
2017-10-03 14:17:31 +02:00
}