/
package.json
132 lines (132 loc) · 4.31 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
{
"name": "@takram/planck-event",
"version": "0.6.0",
"description": "Provides for phased event dispatching and state binding",
"repository": "takram-design-engineering/planck-event",
"main": "./dist/planck-event.js",
"module": "./dist/planck-event.module.js",
"browser": {
"./dist/planck-event.js": "./dist/planck-event.browser.js",
"./dist/planck-event.module.js": "./dist/planck-event.browser.module.js"
},
"author": "Shota Matsuda",
"license": "MIT",
"homepage": "http://takram.com/projects/planck",
"files": [
"package.json",
"README.md",
"dist/planck-event.js",
"dist/planck-event.module.js",
"dist/planck-event.browser.js",
"dist/planck-event.browser.module.js",
"dist/planck-event.min.js",
"src"
],
"scripts": {
"build": "npm-run-all --parallel build:node build:browser",
"build:node": "rollup -c",
"build:browser": "npm-run-all build:browser:compile build:browser:compress",
"build:browser:compile": "rollup -c rollup.config.browser.js",
"build:browser:compress": "uglifyjs --compress --mangle --output ${npm_package_main%.*}.min.js ${npm_package_main%.*}.browser.js",
"test": "npm-run-all lint test:compile test:node test:saucelabs",
"test:compile": "npm-run-all --parallel test:compile:rollup test:compile:webpack",
"test:compile:rollup": "rollup -c rollup.config.test.js",
"test:compile:webpack": "webpack --config webpack.config.test.js",
"test:node": "mocha --recursive test/src",
"test:browser": "browser-sync start --server . --files dist --startPath test --no-open --no-notify",
"test:saucelabs": "mocha test/saucelabs.js",
"lint": "npm-run-all lint:src lint:test",
"lint:src": "standard -v *.js src/*.js src/**/*.js",
"lint:test": "standard -v --env mocha test/*.js test/**/*.js",
"lint-fix": "npm-run-all lint-fix:src lint-fix:test",
"lint-fix:src": "standard -v --fix *.js src/*.js src/**/*.js",
"lint-fix:test": "standard -v --fix --env mocha test/*.js test/**/*.js",
"prewatch": "npm-run-all build test:compile",
"watch": "npm-run-all --parallel test:node watch:src watch:test watch:rollup watch:webpack test:browser",
"watch:src": "nodemon -C --watch rollup.config.js --watch rollup.config.browser.js --watch src --exec \"npm-run-all build test:compile test:node\"",
"watch:test": "nodemon -C --watch test --exec \"npm-run-all test:compile test:node\"",
"watch:rollup": "nodemon -C --watch rollup.config.test.js --exec \"npm run test:compile:rollup\"",
"watch:webpack": "nodemon -C --watch webpack.config.test.js --exec \"npm run test:compile:webpack\"",
"clean": "trash dist/*"
},
"dependencies": {
"mixwith": "^0.1.1"
},
"peerDependencies": {
"@takram/planck-core": "0.x"
},
"devDependencies": {
"@takram/planck-core": "^0.7.0",
"babel-core": "^6.26.3",
"babel-loader": "^7.1.4",
"babel-plugin-external-helpers": "^6.22.0",
"babel-polyfill": "^6.26.0",
"babel-preset-env": "^1.7.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-es2016": "^6.24.1",
"babel-preset-es2017": "^6.24.1",
"babel-preset-stage-2": "^6.24.1",
"babel-preset-stage-3": "^6.24.1",
"browser-sync": "^2.24.4",
"chai": "^4.1.2",
"chalk": "^2.4.1",
"eslint": "^4.19.1",
"express": "^4.16.3",
"mocha": "^5.2.0",
"nodemon": "^1.17.5",
"npm-run-all": "^4.1.3",
"rollup": "^0.60.2",
"rollup-plugin-babel": "^3.0.4",
"rollup-plugin-commonjs": "^9.1.3",
"rollup-plugin-node-resolve": "^3.3.0",
"sauce-connect-launcher": "^1.2.4",
"saucelabs": "^1.5.0",
"sinon": "^6.0.0",
"sinon-chai": "^3.2.0",
"source-map-support": "^0.5.6",
"standard": "^11.0.1",
"uglify-js": "^3.4.0",
"webpack": "^4.12.0",
"webpack-cli": "^3.0.4"
},
"saucelabs": {
"framework": "mocha",
"platforms": [
[
"Windows 10",
"microsoftedge",
"13.10586"
],
[
"Windows 10",
"firefox",
"29.0"
],
[
"Windows 10",
"chrome",
"49.0"
],
[
"Linux",
"firefox",
"29.0"
],
[
"OS X 10.11",
"safari",
"10.0"
],
[
"OS X 10.11",
"firefox",
"29.0"
],
[
"OS X 10.11",
"chrome",
"49.0"
]
]
}
}