forked from NikolayRys/Likely
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
55 lines (55 loc) · 2.12 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
{
"name": "ilyabirman-likely",
"description": "The social sharing buttons that aren’t shabby",
"version": "2.5.0",
"repository": {
"type": "git",
"url": "https://github.com/ilyabirman/Likely.git"
},
"author": "Ilya Birman",
"license": "MIT",
"main": "release/likely-commonjs.js",
"scripts": {
"dev": "cross-env NODE_ENV=development webpack",
"build": "cross-env NODE_ENV=production webpack && cross-env NODE_ENV=production webpack -p --config webpack.config.min.js",
"prepare-release": "mkdir release/archive && cp release/likely.min.js release/archive/likely.js && cp release/likely.min.css release/archive/likely.css",
"zip": "cross-env-shell bestzip release/$npm_package_name-$npm_package_version.zip release/archive/*",
"clean-release": "rm -rf release/archive",
"release": "npm run prepare-release && npm run zip && npm run clean-release",
"test": "npm run integration-tests && npm run check-codestyle",
"check-codestyle": "eslint ./",
"fix-codestyle": "eslint ./ --fix",
"preintegration-tests": "npm run build",
"integration-tests": "mocha --exit test/index.js",
"//": "`in-publish` is used so that the CI doesn’t run tests during the installation. If it does and the tests fail, the build gets errored instead of failed.",
"prepublish": "in-publish && npm run test || not-in-publish"
},
"files": [
"release",
"license.txt"
],
"devDependencies": {
"babel-core": "^6.18.2",
"babel-loader": "^6.2.7",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-preset-latest": "^6.16.0",
"bestzip": "^2.1.5",
"chai": "^3.5.0",
"chai-as-promised": "^5.3.0",
"chromedriver": "^83.0.0",
"cross-env": "^3.1.3",
"css-loader": "^3.4.2",
"cssnano": "^4.1.10",
"eslint": "^6.6.0",
"extract-text-webpack-plugin": "2.0.0-beta.4",
"in-publish": "^2.0.0",
"mocha": "^7.1.2",
"optimize-css-assets-webpack-plugin": "^2.0.0",
"selenium-webdriver": "^3.0.0-beta-2",
"static-server": "^2.0.3",
"style-loader": "^0.13.1",
"stylus": "^0.54.5",
"stylus-loader": "^2.4.0",
"webpack": "^2.1.0-beta.28"
}
}