This repository has been archived by the owner on Feb 20, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
53 lines (53 loc) · 2.18 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
{
"name": "j2c-plugin-prefix-legacy",
"version": "0.1.0",
"description": "bring back the legacy j2c prefix behavior",
"main": "index.js",
"author": "Pierre-Yves Gérardy",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/j2css/j2c-plugin-prefix-legacy.git"
},
"keywords": [
"CSS",
"css-in-js",
"j2c",
"plugin"
],
"main": "src/index.js",
"jsnext:main": "src/index.es6.js",
"browser": "dist/j2c-plugin-prefix-legacy.js",
"scripts": {
"preversion": "npm run -s all",
"prepublish": "(in-publish && git push --follow-tags) || not-in-publish",
"all": "npm run build && npm run lint && npm run cover",
"dev": "npm run clean && npm run rollup-cjs && npm run test",
"build": "npm run -s clean && npm run rollup-cjs && npm run rollup-iife && npm run uglify && npm run gzip",
"rollup-cjs": "rollup -i src/index.es6.js -o dist/j2c-plugin-prefix-legacy.js -f cjs",
"rollup-iife": "rollup -i src/index.es6.js -o dist/j2c-plugin-prefix-legacy.global.js -f iife -n j2cPluginPrefixLegacy",
"uglify": "uglifyjs dist/j2c-plugin-prefix-legacy.global.js -c -m --comments > dist/j2c-plugin-prefix-legacy.global.min.js",
"gzip": "cat dist/j2c-plugin-prefix-legacy.global.min.js | gzip -9 > dist/j2c-plugin-prefix-legacy.global.min.js.gz",
"clean": "rm -f dist/*.js && rm -f dist/inline/*.js",
"lint": "echo \"linting...\" && eslint --fix src/*.js test/test.js scripts/*.js",
"test": "mocha --ui qunit",
"cover": "istanbul cover _mocha -- -R nyan --ui qunit && npm run -s check-coverage",
"check-coverage": "istanbul check-coverage --branches 100",
"travis": "istanbul cover _mocha --report lcovonly -- -R spec --ui qunit && (codecov || true) && npm run -s check-coverage"
},
"devDependencies": {
"eslint": "^2.0.0",
"expect.js": "0.3.1",
"in-publish": "^2.0.0",
"j2c":"https://github.com/j2css/j2c/archive/v1_preview.tar.gz",
"mocha": "^2.3.4",
"perfectionist": "^2.1.2",
"postcss": "^5.0.14",
"postcss-minify-params": "^1.0.4",
"postcss-minify-selectors": "^2.0.2",
"rollup": "^0.25.0",
"uglify-js": "^2.6.0",
"codecov": "^1.0.1",
"istanbul": "^0.4.2"
}
}